Skip to content

Commit

Permalink
Merge pull request #221 from isidroas/patch-1
Browse files Browse the repository at this point in the history
Update code in documentation
  • Loading branch information
wbond committed Jan 27, 2022
2 parents 6250ee4 + a4a76dd commit 6cffd3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/universal_types.md
Expand Up @@ -100,10 +100,10 @@ re-interpreted.
```python
from asn1crypto.core import BitString, OctetBitString, IntegerBitString

bit = BitString({
bit = BitString((
0, 0, 0, 0, 0, 0, 0, 1,
0, 0, 0, 0, 0, 0, 1, 0,
})
))

# Will print (0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0)
print(bit.native)
Expand Down

0 comments on commit 6cffd3d

Please sign in to comment.