MCPcopy
hub / github.com/hylang/hy / create

Method create

hy/scoping.py:141–143  ·  view source on GitHub ↗

Create new scope from this one.

(self, scope_type, *args)

Source from the content-addressed store, hash-verified

139 self.children = []
140
141 def create(self, scope_type, *args):
142 "Create new scope from this one."
143 return scope_type(self.compiler, *args)
144
145 def __enter__(self):
146 if self.compiler.scope is not self:

Callers 6

compile_letFunction · 0.80
compile_comprehensionFunction · 0.80
compile_try_expressionFunction · 0.80
compile_function_lambdaFunction · 0.80
compile_function_defFunction · 0.80
compile_class_expressionFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected