Skip to content

Commit 3a5858b

Browse files
committed
fix: Clarify docs 2
1 parent 3788d17 commit 3a5858b

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/c2pa/c2pa.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1214,9 +1214,11 @@ def __init__(self,
12141214
"""Create a new Reader.
12151215
12161216
Args:
1217-
format_or_path: The format or path to read from. For paths, we
1218-
will attempt to guess the mimetype of the source file
1219-
based on the extension.
1217+
format_or_path: The format or path to read from.
1218+
The stream API (params format and an open stream) is
1219+
the recommended way to use the Reader. For paths, we
1220+
will attempt to guess the mimetype of the source
1221+
file based on the extension.
12201222
stream: Optional stream to read from (Python stream-like object)
12211223
manifest_data: Optional manifest data in bytes
12221224

0 commit comments

Comments
 (0)