MCPcopy
hub / github.com/django/django / inner

Function inner

django/utils/functional.py:249–253  ·  view source on GitHub ↗
(self, *args)

Source from the content-addressed store, hash-verified

247
248def new_method_proxy(func):
249 def inner(self, *args):
250 if (_wrapped := self._wrapped) is empty:
251 self._setup()
252 _wrapped = self._wrapped
253 return func(_wrapped, *args)
254
255 inner._mask_wrapped = False
256 return inner

Callers

nothing calls this directly

Calls 1

_setupMethod · 0.45

Tested by

no test coverage detected