Skip to content

Commit 76aaed7

Browse files
committed
fix readme
1 parent 9423c2b commit 76aaed7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: readme.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Create an instance:
1717
```python
1818
from ic.principal import Principal
1919
p = Principal() # default is management canister id `aaaaa-aa`
20-
p1 = Principal(bytes=xxx) # create an instance from bytes
20+
p1 = Principal(bytes=b'') # create an instance from bytes
2121
p2 = Principal.anonymous() # create anonymous principal
2222
p3 = Principal.self_authenticating(pubkey) # create a principal from public key
2323
p4 = Principal.from_str('aaaaa-aa') # create an instance from string
@@ -83,7 +83,7 @@ Create an instance:
8383
```python
8484
from ic.client import Client
8585
from ic.identity import Identity
86-
from ic.Agent import Agent
86+
from ic.agent import Agent
8787
# Identity and Client are dependencies of Agent
8888
iden = Identity()
8989
client = Client()

0 commit comments

Comments
 (0)