123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521 |
- # encoding: utf-8
- # module _ast
- # from (built-in)
- # by generator 1.147
- # no doc
- # imports
- import ast as __ast
- # Variables with simple values
- PyCF_ALLOW_TOP_LEVEL_AWAIT = 8192
- PyCF_ONLY_AST = 1024
- PyCF_TYPE_COMMENTS = 4096
- # no functions
- # classes
- class AST(object):
- # no doc
- def __delattr__(self, *args, **kwargs): # real signature unknown
- """ Implement delattr(self, name). """
- pass
- def __getattribute__(self, *args, **kwargs): # real signature unknown
- """ Return getattr(self, name). """
- pass
- def __init__(self, *args, **kwargs): # real signature unknown
- pass
- @staticmethod # known case of __new__
- def __new__(*args, **kwargs): # real signature unknown
- """ Create and return a new object. See help(type) for accurate signature. """
- pass
- def __reduce__(self, *args, **kwargs): # real signature unknown
- pass
- def __setattr__(self, *args, **kwargs): # real signature unknown
- """ Implement setattr(self, name, value). """
- pass
- _attributes = ()
- _fields = ()
- __dict__ = None # (!) real value is "mappingproxy({'__getattribute__': <slot wrapper '__getattribute__' of 'astfile.AST' objects>, '__setattr__': <slot wrapper '__setattr__' of 'astfile.AST' objects>, '__delattr__': <slot wrapper '__delattr__' of 'astfile.AST' objects>, '__init__': <slot wrapper '__init__' of 'astfile.AST' objects>, '__new__': <built-in method __new__ of type object at 0x115e04c20>, '__reduce__': <method '__reduce__' of 'astfile.AST' objects>, '__dict__': <attribute '__dict__' of 'astfile.AST' objects>, '__doc__': None, '__module__': 'astfile', '_fields': (), '_attributes': ()})"
- class operator(__ast.AST):
- """ operator = Add | Sub | Mult | MatMult | Div | Mod | Pow | LShift | RShift | BitOr | BitXor | BitAnd | FloorDiv """
- def __init__(self, *args, **kwargs): # real signature unknown
- pass
- __weakref__ = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
- """list of weak references to the object (if defined)"""
- _attributes = ()
- _fields = ()
- class Add(__ast.operator):
- """ Add """
- def __init__(self, *args, **kwargs): # real signature unknown
- pass
- _fields = ()
- class alias(__ast.AST):
- """ alias(identifier name, identifier? asname) """
- def __init__(self, identifier_name, identifier, *args,
- **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
- pass
- __weakref__ = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
- """list of weak references to the object (if defined)"""
- asname = None
- _attributes = ()
- _fields = (
- 'name',
- 'asname',
- )
- class boolop(__ast.AST):
- """ boolop = And | Or """
- def __init__(self, *args, **kwargs): # real signature unknown
- pass
- __weakref__ = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
- """list of weak references to the object (if defined)"""
- _attributes = ()
- _fields = ()
- class And(__ast.boolop):
- """ And """
- def __init__(self, *args, **kwargs): # real signature unknown
- pass
- _fields = ()
- class stmt(__ast.AST):
- """
- stmt = FunctionDef(identifier name, arguments args, stmt* body, expr* decorator_list, expr? returns, string? type_comment)
- | AsyncFunctionDef(identifier name, arguments args, stmt* body, expr* decorator_list, expr? returns, string? type_comment)
- | ClassDef(identifier name, expr* bases, keyword* keywords, stmt* body, expr* decorator_list)
- | Return(expr? value)
- | Delete(expr* targets)
- | Assign(expr* targets, expr value, string? type_comment)
- | AugAssign(expr target, operator op, expr value)
- | AnnAssign(expr target, expr annotation, expr? value, int simple)
- | For(expr target, expr iter, stmt* body, stmt* orelse, string? type_comment)
- | AsyncFor(expr target, expr iter, stmt* body, stmt* orelse, string? type_comment)
- | While(expr test, stmt* body, stmt* orelse)
- | If(expr test, stmt* body, stmt* orelse)
- | With(withitem* items, stmt* body, string? type_comment)
- | AsyncWith(withitem* items, stmt* body, string? type_comment)
- | Raise(expr? exc, expr? cause)
- | Try(stmt* body, excepthandler* handlers, stmt* orelse, stmt* finalbody)
- | Assert(expr test, expr? msg)
- | Import(alias* names)
- | ImportFrom(identifier? module, alias* names, int? level)
- | Global(identifier* names)
- | Nonlocal(identifier* names)
- | Expr(expr value)
- | Pass
- | Break
- | Continue
- """
- def __init__(self, *args, **kwargs): # real signature unknown
- pass
- __weakref__ = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
- """list of weak references to the object (if defined)"""
- end_col_offset = None
- end_lineno = None
- _attributes = (
- 'lineno',
- 'col_offset',
- 'end_lineno',
- 'end_col_offset',
- )
- _fields = ()
- class AnnAssign(__ast.stmt):
- """ AnnAssign(expr target, expr annotation, expr? value, int simple) """
- def __init__(self, expr_target, expr_annotation, expr, *args,
- **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
- pass
- value = None
- _fields = (
- 'target',
- 'annotation',
- 'value',
- 'simple',
- )
- class arg(__ast.AST):
- """ arg(identifier arg, expr? annotation, string? type_comment) """
- def __init__(self, identifier_arg, expr, *args,
- **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
- pass
- __weakref__ = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
- """list of weak references to the object (if defined)"""
- annotation = None
- end_col_offset = None
- end_lineno = None
- type_comment = None
- _attributes = (
- 'lineno',
- 'col_offset',
- 'end_lineno',
- 'end_col_offset',
- )
- _fields = (
- 'arg',
- 'annotation',
- 'type_comment',
- )
- class arguments(__ast.AST):
- """ arguments(arg* posonlyargs, arg* args, arg? vararg, arg* kwonlyargs, expr* kw_defaults, arg? kwarg, expr* defaults) """
- def __init__(self, arg, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
- pass
- __weakref__ = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
- """list of weak references to the object (if defined)"""
- kwarg = None
- vararg = None
- _attributes = ()
- _fields = (
- 'posonlyargs',
- 'args',
- 'vararg',
- 'kwonlyargs',
- 'kw_defaults',
- 'kwarg',
- 'defaults',
- )
- class Assert(__ast.stmt):
- """ Assert(expr test, expr? msg) """
- def __init__(self, expr_test, expr, *args,
- **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
- pass
- msg = None
- _fields = (
- 'test',
- 'msg',
- )
- class Assign(__ast.stmt):
- """ Assign(expr* targets, expr value, string? type_comment) """
- def __init__(self, expr, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
- pass
- type_comment = None
- _fields = (
- 'targets',
- 'value',
- 'type_comment',
- )
- class AsyncFor(__ast.stmt):
- """ AsyncFor(expr target, expr iter, stmt* body, stmt* orelse, string? type_comment) """
- def __init__(self, expr_target, expr_iter, stmt, *args,
- **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
- pass
- type_comment = None
- _fields = (
- 'target',
- 'iter',
- 'body',
- 'orelse',
- 'type_comment',
- )
- class AsyncFunctionDef(__ast.stmt):
- """ AsyncFunctionDef(identifier name, arguments args, stmt* body, expr* decorator_list, expr? returns, string? type_comment) """
- def __init__(self, identifier_name, arguments_args, stmt, *args,
- **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
- pass
- returns = None
- type_comment = None
- _fields = (
- 'name',
- 'args',
- 'body',
- 'decorator_list',
- 'returns',
- 'type_comment',
- )
- class AsyncWith(__ast.stmt):
- """ AsyncWith(withitem* items, stmt* body, string? type_comment) """
- def __init__(self, withitem, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
- pass
- type_comment = None
- _fields = (
- 'items',
- 'body',
- 'type_comment',
- )
- class expr(__ast.AST):
- """
- expr = BoolOp(boolop op, expr* values)
- | NamedExpr(expr target, expr value)
- | BinOp(expr left, operator op, expr right)
- | UnaryOp(unaryop op, expr operand)
- | Lambda(arguments args, expr body)
- | IfExp(expr test, expr body, expr orelse)
- | Dict(expr* keys, expr* values)
- | Set(expr* elts)
- | ListComp(expr elt, comprehension* generators)
- | SetComp(expr elt, comprehension* generators)
- | DictComp(expr key, expr value, comprehension* generators)
- | GeneratorExp(expr elt, comprehension* generators)
- | Await(expr value)
- | Yield(expr? value)
- | YieldFrom(expr value)
- | Compare(expr left, cmpop* ops, expr* comparators)
- | Call(expr func, expr* args, keyword* keywords)
- | FormattedValue(expr value, int? conversion, expr? format_spec)
- | JoinedStr(expr* values)
- | Constant(constant value, string? kind)
- | Attribute(expr value, identifier attr, expr_context ctx)
- | Subscript(expr value, expr slice, expr_context ctx)
- | Starred(expr value, expr_context ctx)
- | Name(identifier id, expr_context ctx)
- | List(expr* elts, expr_context ctx)
- | Tuple(expr* elts, expr_context ctx)
- | Slice(expr? lower, expr? upper, expr? step)
- """
- def __init__(self, *args, **kwargs): # real signature unknown
- pass
- __weakref__ = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
- """list of weak references to the object (if defined)"""
- end_col_offset = None
- end_lineno = None
- _attributes = (
- 'lineno',
- 'col_offset',
- 'end_lineno',
- 'end_col_offset',
- )
- _fields = ()
- class Attribute(__ast.expr):
- """ Attribute(expr value, identifier attr, expr_context ctx) """
- def __init__(self, expr_value, identifier_attr, expr_context_ctx): # real signature unknown; restored from __doc__
- pass
- _fields = (
- 'value',
- 'attr',
- 'ctx',
- )
- class AugAssign(__ast.stmt):
- """ AugAssign(expr target, operator op, expr value) """
- def __init__(self, expr_target, operator_op, expr_value): # real signature unknown; restored from __doc__
- pass
- _fields = (
- 'target',
- 'op',
- 'value',
- )
- class Await(__ast.expr):
- """ Await(expr value) """
- def __init__(self, expr_value): # real signature unknown; restored from __doc__
- pass
- _fields = (
- 'value',
- )
- class BinOp(__ast.expr):
- """ BinOp(expr left, operator op, expr right) """
- def __init__(self, expr_left, operator_op, expr_right): # real signature unknown; restored from __doc__
- pass
- _fields = (
- 'left',
- 'op',
- 'right',
- )
- class BitAnd(__ast.operator):
- """ BitAnd """
- def __init__(self, *args, **kwargs): # real signature unknown
- pass
- _fields = ()
- class BitOr(__ast.operator):
- """ BitOr """
- def __init__(self, *args, **kwargs): # real signature unknown
- pass
- _fields = ()
- class BitXor(__ast.operator):
- """ BitXor """
- def __init__(self, *args, **kwargs): # real signature unknown
- pass
- _fields = ()
- class BoolOp(__ast.expr):
- """ BoolOp(boolop op, expr* values) """
- def __init__(self, boolop_op, expr, *args,
- **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
- pass
- _fields = (
- 'op',
- 'values',
- )
- class Break(__ast.stmt):
- """ Break """
- def __init__(self, *args, **kwargs): # real signature unknown
- pass
- _fields = ()
- class Call(__ast.expr):
- """ Call(expr func, expr* args, keyword* keywords) """
- def __init__(self, expr_func, expr, *args,
- **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
- pass
- _fields = (
- 'func',
- 'args',
- 'keywords',
- )
- class ClassDef(__ast.stmt):
- """ ClassDef(identifier name, expr* bases, keyword* keywords, stmt* body, expr* decorator_list) """
- def __init__(self, identifier_name, expr, *args,
- **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
- pass
- _fields = (
- 'name',
- 'bases',
- 'keywords',
- 'body',
- 'decorator_list',
- )
- class cmpop(__ast.AST):
- """ cmpop = Eq | NotEq | Lt | LtE | Gt | GtE | Is | IsNot | In | NotIn """
- def __init__(self, *args, **kwargs): # real signature unknown
- pass
- __weakref__ = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
- """list of weak references to the object (if defined)"""
- _attributes = ()
- _fields = ()
- class Compare(__ast.expr):
- """ Compare(expr left, cmpop* ops, expr* comparators) """
- def __init__(self, expr_left, cmpop, *args,
- **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
- pass
- _fields = (
- 'left',
- 'ops',
- 'comparators',
- )
- class comprehension(__ast.AST):
- """ comprehension(expr target, expr iter, expr* ifs, int is_async) """
- def __init__(self, expr_target, expr_iter, expr, *args,
- **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
- pass
- __weakref__ = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
- """list of weak references to the object (if defined)"""
- _attributes = ()
- _fields = (
- 'target',
- 'iter',
- 'ifs',
- 'is_async',
- )
- class Constant(__ast.expr):
- """ Constant(constant value, string? kind) """
- def __init__(self, constant_value, string, *args,
- **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
- pass
- n = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
- """Deprecated. Use value instead."""
- s = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
- """Deprecated. Use value instead."""
- kind = None
- _fields = (
- 'value',
- 'kind',
- )
- class Continue(__ast.stmt):
- """ Continue """
- def __init__(self, *args, **kwargs): # real signature unknown
- pass
- _fields = ()
- class expr_context(__ast.AST):
- """ expr_context = Load | Store | Del """
- def __init__(self, *args, **kwargs): # real signature unknown
- pass
- __weakref__ = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
- """list of weak references to the object (if defined)"""
- _attributes = ()
- _fields = ()
- class Del(__ast.expr_context):
- """ Del """
- def __init__(self, *args, **kwargs): # real signature unknown
- pass
- _fields = ()
- class Delete(__ast.stmt):
- """ Delete(expr* targets) """
- def __init__(self, expr, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
- pass
- _fields = (
- 'targets',
- )
- class Dict(__ast.expr):
- """ Dict(expr* keys, expr* values) """
- def __init__(self, expr, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
- pass
- _fields = (
- 'keys',
- 'values',
- )
- class DictComp(__ast.expr):
- """ DictComp(expr key, expr value, comprehension* generators) """
- def __init__(self, expr_key, expr_value, comprehension, *args,
- **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
- pass
- _fields = (
- 'key',
- 'value',
- 'generators',
- )
- class Div(__ast.operator):
- """ Div """
- def __init__(self, *args, **kwargs): # real signature unknown
- pass
- _fields = ()
- class Eq(__ast.cmpop):
- """ Eq """
- def __init__(self, *args, **kwargs): # real signature unknown
- pass
- _fields = ()
- class excepthandler(__ast.AST):
- """ excepthandler = ExceptHandler(expr? type, identifier? name, stmt* body) """
- def __init__(self, *args, **kwargs): # real signature unknown
- pass
- __weakref__ = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
- """list of weak references to the object (if defined)"""
- end_col_offset = None
- end_lineno = None
- _attributes = (
- 'lineno',
- 'col_offset',
- 'end_lineno',
- 'end_col_offset',
- )
- _fields = ()
- class ExceptHandler(__ast.excepthandler):
- """ ExceptHandler(expr? type, identifier? name, stmt* body) """
- def __init__(self, expr, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
- pass
- name = None
- type = None
- _fields = (
- 'type',
- 'name',
- 'body',
- )
- class Expr(__ast.stmt):
- """ Expr(expr value) """
- def __init__(self, expr_value): # real signature unknown; restored from __doc__
- pass
- _fields = (
- 'value',
- )
- class mod(__ast.AST):
- """
- mod = Module(stmt* body, type_ignore* type_ignores)
- | Interactive(stmt* body)
- | Expression(expr body)
- | FunctionType(expr* argtypes, expr returns)
- """
- def __init__(self, *args, **kwargs): # real signature unknown
- pass
- __weakref__ = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
- """list of weak references to the object (if defined)"""
- _attributes = ()
- _fields = ()
- class Expression(__ast.mod):
- """ Expression(expr body) """
- def __init__(self, expr_body): # real signature unknown; restored from __doc__
- pass
- _fields = (
- 'body',
- )
- class FloorDiv(__ast.operator):
- """ FloorDiv """
- def __init__(self, *args, **kwargs): # real signature unknown
- pass
- _fields = ()
- class For(__ast.stmt):
- """ For(expr target, expr iter, stmt* body, stmt* orelse, string? type_comment) """
- def __init__(self, expr_target, expr_iter, stmt, *args,
- **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
- pass
- type_comment = None
- _fields = (
- 'target',
- 'iter',
- 'body',
- 'orelse',
- 'type_comment',
- )
- class FormattedValue(__ast.expr):
- """ FormattedValue(expr value, int? conversion, expr? format_spec) """
- def __init__(self, expr_value, p_int, *args,
- **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
- pass
- conversion = None
- format_spec = None
- _fields = (
- 'value',
- 'conversion',
- 'format_spec',
- )
- class FunctionDef(__ast.stmt):
- """ FunctionDef(identifier name, arguments args, stmt* body, expr* decorator_list, expr? returns, string? type_comment) """
- def __init__(self, identifier_name, arguments_args, stmt, *args,
- **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
- pass
- returns = None
- type_comment = None
- _fields = (
- 'name',
- 'args',
- 'body',
- 'decorator_list',
- 'returns',
- 'type_comment',
- )
- class FunctionType(__ast.mod):
- """ FunctionType(expr* argtypes, expr returns) """
- def __init__(self, expr, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
- pass
- _fields = (
- 'argtypes',
- 'returns',
- )
- class GeneratorExp(__ast.expr):
- """ GeneratorExp(expr elt, comprehension* generators) """
- def __init__(self, expr_elt, comprehension, *args,
- **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
- pass
- _fields = (
- 'elt',
- 'generators',
- )
- class Global(__ast.stmt):
- """ Global(identifier* names) """
- def __init__(self, identifier, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
- pass
- _fields = (
- 'names',
- )
- class Gt(__ast.cmpop):
- """ Gt """
- def __init__(self, *args, **kwargs): # real signature unknown
- pass
- _fields = ()
- class GtE(__ast.cmpop):
- """ GtE """
- def __init__(self, *args, **kwargs): # real signature unknown
- pass
- _fields = ()
- class If(__ast.stmt):
- """ If(expr test, stmt* body, stmt* orelse) """
- def __init__(self, expr_test, stmt, *args,
- **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
- pass
- _fields = (
- 'test',
- 'body',
- 'orelse',
- )
- class IfExp(__ast.expr):
- """ IfExp(expr test, expr body, expr orelse) """
- def __init__(self, expr_test, expr_body, expr_orelse): # real signature unknown; restored from __doc__
- pass
- _fields = (
- 'test',
- 'body',
- 'orelse',
- )
- class Import(__ast.stmt):
- """ Import(alias* names) """
- def __init__(self, alias, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
- pass
- _fields = (
- 'names',
- )
- class ImportFrom(__ast.stmt):
- """ ImportFrom(identifier? module, alias* names, int? level) """
- def __init__(self, identifier, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
- pass
- level = None
- module = None
- _fields = (
- 'module',
- 'names',
- 'level',
- )
- class In(__ast.cmpop):
- """ In """
- def __init__(self, *args, **kwargs): # real signature unknown
- pass
- _fields = ()
- class Interactive(__ast.mod):
- """ Interactive(stmt* body) """
- def __init__(self, stmt, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
- pass
- _fields = (
- 'body',
- )
- class unaryop(__ast.AST):
- """ unaryop = Invert | Not | UAdd | USub """
- def __init__(self, *args, **kwargs): # real signature unknown
- pass
- __weakref__ = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
- """list of weak references to the object (if defined)"""
- _attributes = ()
- _fields = ()
- class Invert(__ast.unaryop):
- """ Invert """
- def __init__(self, *args, **kwargs): # real signature unknown
- pass
- _fields = ()
- class Is(__ast.cmpop):
- """ Is """
- def __init__(self, *args, **kwargs): # real signature unknown
- pass
- _fields = ()
- class IsNot(__ast.cmpop):
- """ IsNot """
- def __init__(self, *args, **kwargs): # real signature unknown
- pass
- _fields = ()
- class JoinedStr(__ast.expr):
- """ JoinedStr(expr* values) """
- def __init__(self, expr, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
- pass
- _fields = (
- 'values',
- )
- class keyword(__ast.AST):
- """ keyword(identifier? arg, expr value) """
- def __init__(self, identifier, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
- pass
- __weakref__ = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
- """list of weak references to the object (if defined)"""
- arg = None
- end_col_offset = None
- end_lineno = None
- _attributes = (
- 'lineno',
- 'col_offset',
- 'end_lineno',
- 'end_col_offset',
- )
- _fields = (
- 'arg',
- 'value',
- )
- class Lambda(__ast.expr):
- """ Lambda(arguments args, expr body) """
- def __init__(self, arguments_args, expr_body): # real signature unknown; restored from __doc__
- pass
- _fields = (
- 'args',
- 'body',
- )
- class List(__ast.expr):
- """ List(expr* elts, expr_context ctx) """
- def __init__(self, expr, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
- pass
- _fields = (
- 'elts',
- 'ctx',
- )
- class ListComp(__ast.expr):
- """ ListComp(expr elt, comprehension* generators) """
- def __init__(self, expr_elt, comprehension, *args,
- **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
- pass
- _fields = (
- 'elt',
- 'generators',
- )
- class Load(__ast.expr_context):
- """ Load """
- def __init__(self, *args, **kwargs): # real signature unknown
- pass
- _fields = ()
- class LShift(__ast.operator):
- """ LShift """
- def __init__(self, *args, **kwargs): # real signature unknown
- pass
- _fields = ()
- class Lt(__ast.cmpop):
- """ Lt """
- def __init__(self, *args, **kwargs): # real signature unknown
- pass
- _fields = ()
- class LtE(__ast.cmpop):
- """ LtE """
- def __init__(self, *args, **kwargs): # real signature unknown
- pass
- _fields = ()
- class MatMult(__ast.operator):
- """ MatMult """
- def __init__(self, *args, **kwargs): # real signature unknown
- pass
- _fields = ()
- class Mod(__ast.operator):
- """ Mod """
- def __init__(self, *args, **kwargs): # real signature unknown
- pass
- _fields = ()
- class Module(__ast.mod):
- """ Module(stmt* body, type_ignore* type_ignores) """
- def __init__(self, stmt, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
- pass
- _fields = (
- 'body',
- 'type_ignores',
- )
- class Mult(__ast.operator):
- """ Mult """
- def __init__(self, *args, **kwargs): # real signature unknown
- pass
- _fields = ()
- class Name(__ast.expr):
- """ Name(identifier id, expr_context ctx) """
- def __init__(self, identifier_id, expr_context_ctx): # real signature unknown; restored from __doc__
- pass
- _fields = (
- 'id',
- 'ctx',
- )
- class NamedExpr(__ast.expr):
- """ NamedExpr(expr target, expr value) """
- def __init__(self, expr_target, expr_value): # real signature unknown; restored from __doc__
- pass
- _fields = (
- 'target',
- 'value',
- )
- class Nonlocal(__ast.stmt):
- """ Nonlocal(identifier* names) """
- def __init__(self, identifier, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
- pass
- _fields = (
- 'names',
- )
- class Not(__ast.unaryop):
- """ Not """
- def __init__(self, *args, **kwargs): # real signature unknown
- pass
- _fields = ()
- class NotEq(__ast.cmpop):
- """ NotEq """
- def __init__(self, *args, **kwargs): # real signature unknown
- pass
- _fields = ()
- class NotIn(__ast.cmpop):
- """ NotIn """
- def __init__(self, *args, **kwargs): # real signature unknown
- pass
- _fields = ()
- class Or(__ast.boolop):
- """ Or """
- def __init__(self, *args, **kwargs): # real signature unknown
- pass
- _fields = ()
- class Pass(__ast.stmt):
- """ Pass """
- def __init__(self, *args, **kwargs): # real signature unknown
- pass
- _fields = ()
- class Pow(__ast.operator):
- """ Pow """
- def __init__(self, *args, **kwargs): # real signature unknown
- pass
- _fields = ()
- class Raise(__ast.stmt):
- """ Raise(expr? exc, expr? cause) """
- def __init__(self, expr, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
- pass
- cause = None
- exc = None
- _fields = (
- 'exc',
- 'cause',
- )
- class Return(__ast.stmt):
- """ Return(expr? value) """
- def __init__(self, expr, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
- pass
- value = None
- _fields = (
- 'value',
- )
- class RShift(__ast.operator):
- """ RShift """
- def __init__(self, *args, **kwargs): # real signature unknown
- pass
- _fields = ()
- class Set(__ast.expr):
- """ Set(expr* elts) """
- def __init__(self, expr, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
- pass
- _fields = (
- 'elts',
- )
- class SetComp(__ast.expr):
- """ SetComp(expr elt, comprehension* generators) """
- def __init__(self, expr_elt, comprehension, *args,
- **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
- pass
- _fields = (
- 'elt',
- 'generators',
- )
- class Slice(__ast.expr):
- """ Slice(expr? lower, expr? upper, expr? step) """
- def __init__(self, expr, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
- pass
- lower = None
- step = None
- upper = None
- _fields = (
- 'lower',
- 'upper',
- 'step',
- )
- class Starred(__ast.expr):
- """ Starred(expr value, expr_context ctx) """
- def __init__(self, expr_value, expr_context_ctx): # real signature unknown; restored from __doc__
- pass
- _fields = (
- 'value',
- 'ctx',
- )
- class Store(__ast.expr_context):
- """ Store """
- def __init__(self, *args, **kwargs): # real signature unknown
- pass
- _fields = ()
- class Sub(__ast.operator):
- """ Sub """
- def __init__(self, *args, **kwargs): # real signature unknown
- pass
- _fields = ()
- class Subscript(__ast.expr):
- """ Subscript(expr value, expr slice, expr_context ctx) """
- def __init__(self, expr_value, expr_slice, expr_context_ctx): # real signature unknown; restored from __doc__
- pass
- _fields = (
- 'value',
- 'slice',
- 'ctx',
- )
- class Try(__ast.stmt):
- """ Try(stmt* body, excepthandler* handlers, stmt* orelse, stmt* finalbody) """
- def __init__(self, stmt, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
- pass
- _fields = (
- 'body',
- 'handlers',
- 'orelse',
- 'finalbody',
- )
- class Tuple(__ast.expr):
- """ Tuple(expr* elts, expr_context ctx) """
- def __init__(self, expr, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
- pass
- dims = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
- """Deprecated. Use elts instead."""
- _fields = (
- 'elts',
- 'ctx',
- )
- class type_ignore(__ast.AST):
- """ type_ignore = TypeIgnore(int lineno, string tag) """
- def __init__(self, *args, **kwargs): # real signature unknown
- pass
- __weakref__ = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
- """list of weak references to the object (if defined)"""
- _attributes = ()
- _fields = ()
- class TypeIgnore(__ast.type_ignore):
- """ TypeIgnore(int lineno, string tag) """
- def __init__(self, int_lineno, string_tag): # real signature unknown; restored from __doc__
- pass
- _fields = (
- 'lineno',
- 'tag',
- )
- class UAdd(__ast.unaryop):
- """ UAdd """
- def __init__(self, *args, **kwargs): # real signature unknown
- pass
- _fields = ()
- class UnaryOp(__ast.expr):
- """ UnaryOp(unaryop op, expr operand) """
- def __init__(self, unaryop_op, expr_operand): # real signature unknown; restored from __doc__
- pass
- _fields = (
- 'op',
- 'operand',
- )
- class USub(__ast.unaryop):
- """ USub """
- def __init__(self, *args, **kwargs): # real signature unknown
- pass
- _fields = ()
- class While(__ast.stmt):
- """ While(expr test, stmt* body, stmt* orelse) """
- def __init__(self, expr_test, stmt, *args,
- **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
- pass
- _fields = (
- 'test',
- 'body',
- 'orelse',
- )
- class With(__ast.stmt):
- """ With(withitem* items, stmt* body, string? type_comment) """
- def __init__(self, withitem, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
- pass
- type_comment = None
- _fields = (
- 'items',
- 'body',
- 'type_comment',
- )
- class withitem(__ast.AST):
- """ withitem(expr context_expr, expr? optional_vars) """
- def __init__(self, expr_context_expr, expr, *args,
- **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
- pass
- __weakref__ = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
- """list of weak references to the object (if defined)"""
- optional_vars = None
- _attributes = ()
- _fields = (
- 'context_expr',
- 'optional_vars',
- )
- class Yield(__ast.expr):
- """ Yield(expr? value) """
- def __init__(self, expr, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
- pass
- value = None
- _fields = (
- 'value',
- )
- class YieldFrom(__ast.expr):
- """ YieldFrom(expr value) """
- def __init__(self, expr_value): # real signature unknown; restored from __doc__
- pass
- _fields = (
- 'value',
- )
- class __loader__(object):
- """
- Meta path import for built-in modules.
- All methods are either class or static methods to avoid the need to
- instantiate the class.
- """
- @classmethod
- def create_module(cls, *args, **kwargs): # real signature unknown
- """ Create a built-in module """
- pass
- @classmethod
- def exec_module(cls, *args, **kwargs): # real signature unknown
- """ Exec a built-in module """
- pass
- @classmethod
- def find_module(cls, *args, **kwargs): # real signature unknown
- """
- Find the built-in module.
- If 'path' is ever specified then the search is considered a failure.
- This method is deprecated. Use find_spec() instead.
- """
- pass
- @classmethod
- def find_spec(cls, *args, **kwargs): # real signature unknown
- pass
- @classmethod
- def get_code(cls, *args, **kwargs): # real signature unknown
- """ Return None as built-in modules do not have code objects. """
- pass
- @classmethod
- def get_source(cls, *args, **kwargs): # real signature unknown
- """ Return None as built-in modules do not have source code. """
- pass
- @classmethod
- def is_package(cls, *args, **kwargs): # real signature unknown
- """ Return False as built-in modules are never packages. """
- pass
- @classmethod
- def load_module(cls, *args, **kwargs): # real signature unknown
- """
- Load the specified module into sys.modules and return it.
- This method is deprecated. Use loader.exec_module instead.
- """
- pass
- def module_repr(module): # reliably restored by inspect
- """
- Return repr for the module.
- The method is deprecated. The import machinery does the job itself.
- """
- pass
- def __init__(self, *args, **kwargs): # real signature unknown
- pass
- __weakref__ = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
- """list of weak references to the object (if defined)"""
- _ORIGIN = 'built-in'
- __dict__ = None # (!) real value is "mappingproxy({'__module__': '_frozen_importlib', '__doc__': 'Meta path import for built-in modules.\\n\\n All methods are either class or static methods to avoid the need to\\n instantiate the class.\\n\\n ', '_ORIGIN': 'built-in', 'module_repr': <staticmethod object at 0x103298430>, 'find_spec': <classmethod object at 0x103298460>, 'find_module': <classmethod object at 0x103298490>, 'create_module': <classmethod object at 0x1032984c0>, 'exec_module': <classmethod object at 0x1032984f0>, 'get_code': <classmethod object at 0x103298580>, 'get_source': <classmethod object at 0x103298610>, 'is_package': <classmethod object at 0x1032986a0>, 'load_module': <classmethod object at 0x1032986d0>, '__dict__': <attribute '__dict__' of 'BuiltinImporter' objects>, '__weakref__': <attribute '__weakref__' of 'BuiltinImporter' objects>})"
- # variables with complex values
- __spec__ = None # (!) real value is "ModuleSpec(name='_ast', loader=<class '_frozen_importlib.BuiltinImporter'>, origin='built-in')"
|