aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorIlya Etingof <etingof@gmail.com>2017-02-04 13:37:11 +0100
committerIlya Etingof <etingof@gmail.com>2017-02-04 13:37:11 +0100
commit9754d4273736ad808cfc4060b4281c3be9d93616 (patch)
treedb7031bdb9f90378051cec607b1f3a0584c54fff /README.md
parenta5bbbe7197846d23346ed3ac34203887fb98f602 (diff)
downloadpyasn1-9754d4273736ad808cfc4060b4281c3be9d93616.tar.gz
python codec renamed into "native"
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 17b62bc..4e79b44 100644
--- a/README.md
+++ b/README.md
@@ -134,7 +134,7 @@ To make life easier for a Pythonista, they can turn their pyasn1
classes into Python built-ins:
```python
->>> from pyasn1.codec.python.encoder import encode
+>>> from pyasn1.codec.native.encoder import encode
>>> encode(record)
{'id': 123, 'room': 321, 'house': 0}
```
@@ -143,7 +143,7 @@ Or vice-versa -- you can initialize an ASN.1 structure from a tree of
Python objects:
```python
->>> from pyasn1.codec.python.decoder import decode
+>>> from pyasn1.codec.native.decoder import decode
>>> record = decode({'id': 123, 'room': 321, 'house': 0}, asn1Spec=Record())
>>> print(record.prettyPrint())
Record: