Skip to content

Commit 53cc06d

Browse files
committed
fix: Docs
1 parent 9d40c79 commit 53cc06d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/c2pa/c2pa.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1731,7 +1731,7 @@ def _sign_internal(
17311731
format: str,
17321732
source_stream: Stream,
17331733
dest_stream: Stream) -> tuple[int, Optional[bytes]]:
1734-
"""Core signing logic shared between sign() and sign_file() methods,
1734+
"""Internal signing logic shared between sign() and sign_file() methods,
17351735
to use same native calls but expose different API surface.
17361736
17371737
Args:
@@ -1804,7 +1804,7 @@ def sign(
18041804
source_stream = Stream(source)
18051805
dest_stream = Stream(dest)
18061806

1807-
# Use the core signing logic
1807+
# Use the internal stream-base signing logic
18081808
_, manifest_bytes = self._sign_internal(signer, format, source_stream, dest_stream)
18091809
return manifest_bytes
18101810

@@ -1839,7 +1839,7 @@ def sign_file(self,
18391839
source_stream = Stream(source_file)
18401840
dest_stream = Stream(dest_file)
18411841

1842-
# Use the core signing logic
1842+
# Use the internal stream-base signing logic
18431843
return self._sign_internal(signer, mime_type, source_stream, dest_stream)
18441844

18451845

0 commit comments

Comments
 (0)