Skip to content

Commit

Permalink
doc: Context.instance scope is process, not thread
Browse files Browse the repository at this point in the history
  • Loading branch information
minrk committed Feb 28, 2024
1 parent 6a3a78d commit 0ea1720
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zmq/sugar/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ def shadow_pyczmq(cls: Type[T], ctx: Any) -> T:
def instance(cls: Type[T], io_threads: int = 1) -> T:
"""Returns a global Context instance.
Most single-threaded applications have a single, global Context.
Most single-process applications have a single, global Context.
Use this method instead of passing around Context instances
throughout your code.
Expand Down

0 comments on commit 0ea1720

Please sign in to comment.