MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / Name

Function Name

tools/python-3.11.9-amd64/Lib/lib2to3/fixer_util.py:36–38  ·  view source on GitHub ↗

Return a NAME leaf

(name, prefix=None)

Source from the content-addressed store, hash-verified

34 target + [Leaf(token.EQUAL, "=", prefix=" ")] + source)
35
36def Name(name, prefix=None):
37 """Return a NAME leaf"""
38 return Leaf(token.NAME, name, prefix=prefix)
39
40def Attr(obj, attr):
41 """A node tuple for obj.attr"""

Callers 15

transform_importMethod · 0.90
transform_memberMethod · 0.90
handle_nameMethod · 0.90
transform_dotMethod · 0.90
transformMethod · 0.90
_isCallableMethod · 0.90
_handle_type2abcMethod · 0.90
testMethod · 0.90
test_returnsMethod · 0.90
testMethod · 0.90
_CallMethod · 0.90
transformMethod · 0.90

Calls 1

LeafClass · 0.85

Tested by 4

testMethod · 0.72
test_returnsMethod · 0.72
testMethod · 0.72
_CallMethod · 0.72