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

Function getcontext

Lib/decimal.py:421–433  ·  view source on GitHub ↗

Returns this thread's context. If this thread does not yet have a context, returns a new context and sets this thread's context. New contexts are copies of DefaultContext.

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

localcontextFunction · 0.85
__new__Method · 0.85
_check_nansMethod · 0.85
_compare_check_nansMethod · 0.85
__str__Method · 0.85
__neg__Method · 0.85
__pos__Method · 0.85
__add__Method · 0.85
__mul__Method · 0.85
__truediv__Method · 0.85
__divmod__Method · 0.85
__mod__Method · 0.85

Calls 1

ContextClass · 0.85

Tested by

no test coverage detected