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

Function Attr

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

A node tuple for obj.attr

(obj, attr)

Source from the content-addressed store, hash-verified

38 return Leaf(token.NAME, name, prefix=prefix)
39
40def Attr(obj, attr):
41 """A node tuple for obj.attr"""
42 return [obj, Node(syms.trailer, [Dot(), attr])]
43
44def Comma():
45 """A comma leaf"""

Callers 8

transformMethod · 0.90
testMethod · 0.90
test_returnsMethod · 0.90
ImportAndCallFunction · 0.70
transformMethod · 0.50
transformMethod · 0.50
transformMethod · 0.50
transformMethod · 0.50

Calls 2

DotFunction · 0.85
NodeClass · 0.70

Tested by 2

testMethod · 0.72
test_returnsMethod · 0.72