Skip to content

Commit 20fc421

Browse files
committed
PYTHON-6035 Say made current rather than pushed as ambient context
Matches the wording used for the same idea elsewhere in the module.
1 parent 5fbc0bf commit 20fc421

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pymongo/_otel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ def start_transaction_span(tracing_options: Optional[TracingOptions]) -> Optiona
538538
"""Start (but do not make current) the ``"transaction"`` pseudo-span, or None.
539539
540540
Passed as the explicit ``parent_span`` for operation spans in this
541-
transaction, never pushed as ambient context.
541+
transaction, never made current.
542542
"""
543543
if not _is_tracing_enabled(tracing_options):
544544
return None

0 commit comments

Comments
 (0)