MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / localcontext

Function localcontext

Lib/decimal.py:464–501  ·  view source on GitHub ↗

Return a context manager for a copy of the supplied context Uses a copy of the current context if no context is specified The returned context manager creates a local decimal context in a with statement: def sin(x): with localcontext() as ctx: ctx.p

(ctx=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

getcontextFunction · 0.85
_ContextManagerClass · 0.85

Tested by

no test coverage detected