Skip to content

Commit 566cbb6

Browse files
author
Tania Mathern
committed
fix: Docs
1 parent f36e35e commit 566cbb6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/c2pa/c2pa.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2399,7 +2399,7 @@ def _init_from_context(self, context, format_or_path,
23992399
self._own_stream = Stream(stream)
24002400

24012401
try:
2402-
# Step 1: create reader from context
2402+
# Create reader from context
24032403
reader_ptr = _lib.c2pa_reader_from_context(
24042404
context.execution_context,
24052405
)
@@ -2421,7 +2421,7 @@ def _init_from_context(self, context, format_or_path,
24212421
ctypes.c_ubyte *
24222422
len(manifest_data))(
24232423
*manifest_data)
2424-
# Step 2: consume current reader,
2424+
# Consume current reader,
24252425
# with manifest data and stream (C FFI pattern),
24262426
# to create a new one (switch out)
24272427
new_ptr = (
@@ -2435,7 +2435,7 @@ def _init_from_context(self, context, format_or_path,
24352435
)
24362436
# reader_ptr has been invalidated(consumed)
24372437
else:
2438-
# Step 2: consume reader with stream
2438+
# Consume reader with stream
24392439
new_ptr = _lib.c2pa_reader_with_stream(
24402440
reader_ptr, format_bytes,
24412441
self._own_stream._stream,

0 commit comments

Comments
 (0)