aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
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: