PyDocs

Nav

Python Language Services

Set

ast

class
  • Set(elts)
Set(expr* elts)
1 Example
>>> print(ast.dump(ast.parse('{1, 2, 3}', mode='eval'), indent=4))
Expression(
    body=Set(
        elts=[
            Constant(value=1),
            Constant(value=2),
            Constant(value=3)]))
from the Python docs
See Also
No see-alsos for ast/Set
0 Notes
No notes for Set