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

Function parenthesize

tools/python-3.11.9-amd64/Lib/lib2to3/fixer_util.py:184–185  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

182###########################################################
183
184def parenthesize(node):
185 return Node(syms.atom, [LParen(), node, RParen()])
186
187
188consuming_calls = {"sorted", "list", "set", "any", "all", "tuple", "sum",

Callers 4

transformMethod · 0.85
transformMethod · 0.85
transformMethod · 0.85
transformMethod · 0.85

Calls 3

LParenFunction · 0.85
RParenFunction · 0.85
NodeClass · 0.70

Tested by

no test coverage detected