Skip to content

Commit e75dc17

Browse files
committed
Fixed docs for CID.decode
1 parent a61ed06 commit e75dc17

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

multiformats/cid/__init__.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -517,8 +517,7 @@ def __eq__(self, other: Any) -> bool:
517517
@staticmethod
518518
def decode(cid: Union[str, BytesLike]) -> "CID":
519519
"""
520-
Decodes a CID from a bytestring or a hex string (which will be converted to :obj:`bytes`
521-
using :obj:`bytes.fromhex`). Note: the hex string is not multibase encoded.
520+
Decodes a CID from a bytestring or a multibase-encoded string.
522521
523522
Example usage for CIDv1 multibase-encoded string:
524523

0 commit comments

Comments
 (0)