MCPcopy
hub / github.com/pyload/pyload / bind

Method bind

module/lib/jinja2/ext.py:70–75  ·  view source on GitHub ↗

Create a copy of this extension bound to another environment.

(self, environment)

Source from the content-addressed store, hash-verified

68 self.environment = environment
69
70 def bind(self, environment):
71 """Create a copy of this extension bound to another environment."""
72 rv = object.__new__(self.__class__)
73 rv.__dict__.update(self.__dict__)
74 rv.environment = environment
75 return rv
76
77 def preprocess(self, source, name, filename=None):
78 """This method is called before the actual lexing and can be used to

Callers 15

serverFunction · 0.45
listenMethod · 0.45
wsgiMethod · 0.45
listenMethod · 0.45
overlayMethod · 0.45
_serverMethod · 0.45
admin.jsFile · 0.45
PackageFunction · 0.45
purr_static.jsFile · 0.45

Calls 2

__new__Method · 0.45
updateMethod · 0.45

Tested by

no test coverage detected