package pyast

  1. Overview
  2. Docs

Module V3_1.AstSource

Sourcetype withitem = unit
Sourceand unaryop =
  1. | Invert
  2. | Not
  3. | UAdd
  4. | USub
Sourceand type_ignore = unit
Sourceand stmt = {
  1. desc : stmt_desc;
  2. lineno : int;
  3. col_offset : int;
}
Sourceand stmt_desc =
  1. | FunctionDef of {
    1. name : string;
    2. args : arguments;
    3. body : stmt list;
    4. decorator_list : expr list;
    5. returns : expr option;
    }
  2. | ClassDef of {
    1. name : string;
    2. bases : expr list;
    3. keywords : keyword list;
    4. starargs : expr option;
    5. kwargs : expr option;
    6. body : stmt list;
    7. decorator_list : expr list;
    }
  3. | Return of expr option
  4. | Delete of expr list
  5. | Assign of {
    1. targets : expr list;
    2. value : expr;
    }
  6. | AugAssign of {
    1. target : expr;
    2. op : operator;
    3. value : expr;
    }
  7. | For of {
    1. target : expr;
    2. iter : expr;
    3. body : stmt list;
    4. orelse : stmt list;
    }
  8. | While of {
    1. test : expr;
    2. body : stmt list;
    3. orelse : stmt list;
    }
  9. | If of {
    1. test : expr;
    2. body : stmt list;
    3. orelse : stmt list;
    }
  10. | With of {
    1. context_expr : expr;
    2. optional_vars : expr option;
    3. body : stmt list;
    }
  11. | Raise of {
    1. exc : expr option;
    2. cause : expr option;
    }
  12. | TryExcept of {
    1. body : stmt list;
    2. handlers : excepthandler list;
    3. orelse : stmt list;
    }
  13. | TryFinally of {
    1. body : stmt list;
    2. finalbody : stmt list;
    }
  14. | Assert of {
    1. test : expr;
    2. msg : expr option;
    }
  15. | Import of alias list
  16. | ImportFrom of {
    1. module_ : string;
    2. names : alias list;
    3. level : int option;
    }
  17. | Global of string list
  18. | Nonlocal of string list
  19. | Expr of expr
  20. | Pass
  21. | Break
  22. | Continue
Sourceand slice =
  1. | Slice of {
    1. lower : expr option;
    2. upper : expr option;
    3. step : expr option;
    }
  2. | ExtSlice of slice list
  3. | Index of expr
Sourceand pattern = unit
Sourceand operator =
  1. | Add
  2. | Sub
  3. | Mult
  4. | Div
  5. | Mod
  6. | Pow
  7. | LShift
  8. | RShift
  9. | BitOr
  10. | BitXor
  11. | BitAnd
  12. | FloorDiv
Sourceand mod_ =
  1. | Module of stmt list
  2. | Interactive of stmt list
  3. | Expression of expr
  4. | Suite of stmt list
Sourceand match_case = unit
Sourceand keyword = {
  1. arg : string;
  2. value : expr;
}
Sourceand expr_context =
  1. | Load
  2. | Store
  3. | Del
  4. | AugLoad
  5. | AugStore
  6. | Param
Sourceand expr = {
  1. desc : expr_desc;
  2. lineno : int;
  3. col_offset : int;
}
Sourceand expr_desc =
  1. | BoolOp of {
    1. op : boolop;
    2. values : expr list;
    }
  2. | BinOp of {
    1. left : expr;
    2. op : operator;
    3. right : expr;
    }
  3. | UnaryOp of {
    1. op : unaryop;
    2. operand : expr;
    }
  4. | Lambda of {
    1. args : arguments;
    2. body : expr;
    }
  5. | IfExp of {
    1. test : expr;
    2. body : expr;
    3. orelse : expr;
    }
  6. | Dict of {
    1. keys : expr list;
    2. values : expr list;
    }
  7. | Set of expr list
  8. | ListComp of {
    1. elt : expr;
    2. generators : comprehension list;
    }
  9. | SetComp of {
    1. elt : expr;
    2. generators : comprehension list;
    }
  10. | DictComp of {
    1. key : expr;
    2. value : expr;
    3. generators : comprehension list;
    }
  11. | GeneratorExp of {
    1. elt : expr;
    2. generators : comprehension list;
    }
  12. | Yield of expr option
  13. | Compare of {
    1. left : expr;
    2. ops : cmpop list;
    3. comparators : expr list;
    }
  14. | Call of {
    1. func : expr;
    2. args : expr list;
    3. keywords : keyword list;
    4. starargs : expr option;
    5. kwargs : expr option;
    }
  15. | Num of object_
  16. | Str of string
  17. | Bytes of string
  18. | Ellipsis
  19. | Attribute of {
    1. value : expr;
    2. attr : string;
    3. ctx : expr_context;
    }
  20. | Subscript of {
    1. value : expr;
    2. slice : slice;
    3. ctx : expr_context;
    }
  21. | Starred of {
    1. value : expr;
    2. ctx : expr_context;
    }
  22. | Name of {
    1. id : string;
    2. ctx : expr_context;
    }
  23. | List of {
    1. elts : expr list;
    2. ctx : expr_context;
    }
  24. | Tuple of {
    1. elts : expr list;
    2. ctx : expr_context;
    }
Sourceand excepthandler = {
  1. desc : excepthandler_desc;
  2. lineno : int;
  3. col_offset : int;
}
Sourceand excepthandler_desc =
  1. | ExceptHandler of {
    1. type_ : expr option;
    2. name : string option;
    3. body : stmt list;
    }
Sourceand comprehension = {
  1. target : expr;
  2. iter : expr;
  3. ifs : expr list;
}
Sourceand cmpop =
  1. | Eq
  2. | NotEq
  3. | Lt
  4. | LtE
  5. | Gt
  6. | GtE
  7. | Is
  8. | IsNot
  9. | In
  10. | NotIn
Sourceand boolop =
  1. | And
  2. | Or
Sourceand arguments = {
  1. args : arg list;
  2. vararg : string option;
  3. varargannotation : expr option;
  4. kwonlyargs : arg list;
  5. kwarg : string option;
  6. kwargannotation : expr option;
  7. defaults : expr list;
  8. kw_defaults : expr list;
}
Sourceand arg = {
  1. arg : string;
  2. annotation : expr option;
}
Sourceand alias = {
  1. name : string;
  2. asname : string option;
}
Sourcetype arguments_args =
  1. | Expr_list of expr list
  2. | Arg_list of arg list
Sourcetype arguments_kwarg =
  1. | Identifier_opt of string option
  2. | Arg_opt of arg option
Sourcetype arguments_vararg =
  1. | Identifier_opt of string option
  2. | Arg_opt of arg option
Sourcetype excepthandler_excepthandler_name =
  1. | Identifier_opt of string option
  2. | Expr_opt of expr option
Sourcetype expr_bytes_s =
  1. | String of string
  2. | Bytes of string
Sourcetype expr_formattedvalue_conversion =
  1. | Int_opt of int option
  2. | Int of int
Sourcetype expr_subscript_slice =
  1. | Slice of slice
  2. | Expr of expr
Sourcetype expr_yieldfrom_value =
  1. | Expr_opt of expr option
  2. | Expr of expr
Sourcetype keyword_arg =
  1. | Identifier_opt of string option
  2. | Identifier of string
Sourcetype stmt_importfrom_module =
  1. | Identifier_opt of string option
  2. | Identifier of string
Sourceval withitem : ?optional_vars:'a -> ?context_expr:'b -> unit -> withitem
Sourceval unaryop_usub : unit -> unaryop
Sourceval unaryop_uadd : unit -> unaryop
Sourceval unaryop_not : unit -> unaryop
Sourceval unaryop_invert : unit -> unaryop
Sourceval type_ignore_typeignore : ?tag:'a -> ?lineno:'b -> unit -> type_ignore
Sourceval stmt_with : ?lineno:int -> ?end_lineno:'a -> ?end_col_offset:'b -> ?col_offset:int -> ?type_comment:'c -> ?optional_vars:expr option -> ?items:'d -> ?context_expr:expr -> ?body:stmt list -> unit -> stmt
Sourceval stmt_while : ?lineno:int -> ?end_lineno:'a -> ?end_col_offset:'b -> ?col_offset:int -> ?test:expr -> ?orelse:stmt list -> ?body:stmt list -> unit -> stmt
Sourceval stmt_trystar : ?lineno:'a -> ?end_lineno:'b -> ?end_col_offset:'c -> ?col_offset:'d -> ?orelse:'e -> ?handlers:'f -> ?finalbody:'g -> ?body:'h -> unit -> stmt
Sourceval stmt_tryfinally : ?lineno:int -> ?end_lineno:'a -> ?end_col_offset:'b -> ?col_offset:int -> ?finalbody:stmt list -> ?body:stmt list -> unit -> stmt
Sourceval stmt_tryexcept : ?lineno:int -> ?end_lineno:'a -> ?end_col_offset:'b -> ?col_offset:int -> ?orelse:stmt list -> ?handlers:excepthandler list -> ?body:stmt list -> unit -> stmt
Sourceval stmt_try : ?lineno:int -> ?end_lineno:'a -> ?end_col_offset:'b -> ?col_offset:int -> ?orelse:stmt list -> ?handlers:excepthandler list -> ?finalbody:stmt list -> ?body:stmt list -> unit -> stmt
Sourceval stmt_return : ?lineno:int -> ?end_lineno:'a -> ?end_col_offset:'b -> ?col_offset:int -> ?value:expr option -> unit -> stmt
Sourceval stmt_raise : ?lineno:int -> ?end_lineno:'a -> ?end_col_offset:'b -> ?col_offset:int -> ?type_:'c -> ?tback:'d -> ?inst:'e -> ?exc:expr option -> ?cause:expr option -> unit -> stmt
Sourceval stmt_print : ?lineno:'a -> ?end_lineno:'b -> ?end_col_offset:'c -> ?col_offset:'d -> ?values:expr list -> ?nl:'e -> ?dest:'f -> unit -> stmt
Sourceval stmt_pass : ?lineno:int -> ?end_lineno:'a -> ?end_col_offset:'b -> ?col_offset:int -> unit -> stmt
Sourceval stmt_nonlocal : ?lineno:int -> ?end_lineno:'a -> ?end_col_offset:'b -> ?col_offset:int -> ?names:string list -> unit -> stmt
Sourceval stmt_match : ?lineno:'a -> ?end_lineno:'b -> ?end_col_offset:'c -> ?col_offset:'d -> ?subject:'e -> ?cases:'f -> unit -> stmt
Sourceval stmt_importfrom : ?lineno:int -> ?end_lineno:'a -> ?end_col_offset:'b -> ?col_offset:int -> ?names:alias list -> ?module_:stmt_importfrom_module -> ?level:int option -> unit -> stmt
Sourceval stmt_import : ?lineno:int -> ?end_lineno:'a -> ?end_col_offset:'b -> ?col_offset:int -> ?names:alias list -> unit -> stmt
Sourceval stmt_if : ?lineno:int -> ?end_lineno:'a -> ?end_col_offset:'b -> ?col_offset:int -> ?test:expr -> ?orelse:stmt list -> ?body:stmt list -> unit -> stmt
Sourceval stmt_global : ?lineno:int -> ?end_lineno:'a -> ?end_col_offset:'b -> ?col_offset:int -> ?names:string list -> unit -> stmt
Sourceval stmt_functiondef : ?lineno:int -> ?end_lineno:'a -> ?end_col_offset:'b -> ?col_offset:int -> ?type_comment:'c -> ?returns:expr option -> ?name:string -> ?decorators:'d -> ?decorator_list:expr list -> ?body:stmt list -> ?args:arguments -> unit -> stmt
Sourceval stmt_for : ?lineno:int -> ?end_lineno:'a -> ?end_col_offset:'b -> ?col_offset:int -> ?type_comment:'c -> ?target:expr -> ?orelse:stmt list -> ?iter:expr -> ?body:stmt list -> unit -> stmt
Sourceval stmt_expr : ?lineno:int -> ?end_lineno:'a -> ?end_col_offset:'b -> ?col_offset:int -> ?value:expr -> unit -> stmt
Sourceval stmt_exec : ?lineno:'a -> ?end_lineno:'b -> ?end_col_offset:'c -> ?col_offset:'d -> ?locals:'e -> ?globals:'f -> ?body:'g -> unit -> stmt
Sourceval stmt_delete : ?lineno:int -> ?end_lineno:'a -> ?end_col_offset:'b -> ?col_offset:int -> ?targets:expr list -> unit -> stmt
Sourceval stmt_continue : ?lineno:int -> ?end_lineno:'a -> ?end_col_offset:'b -> ?col_offset:int -> unit -> stmt
Sourceval stmt_classdef : ?lineno:int -> ?end_lineno:'a -> ?end_col_offset:'b -> ?col_offset:int -> ?starargs:expr option -> ?name:string -> ?kwargs:expr option -> ?keywords:keyword list -> ?decorator_list:expr list -> ?body:stmt list -> ?bases:expr list -> unit -> stmt
Sourceval stmt_break : ?lineno:int -> ?end_lineno:'a -> ?end_col_offset:'b -> ?col_offset:int -> unit -> stmt
Sourceval stmt_augassign : ?lineno:int -> ?end_lineno:'a -> ?end_col_offset:'b -> ?col_offset:int -> ?value:expr -> ?target:expr -> ?op:operator -> unit -> stmt
Sourceval stmt_asyncwith : ?lineno:'a -> ?end_lineno:'b -> ?end_col_offset:'c -> ?col_offset:'d -> ?type_comment:'e -> ?items:'f -> ?body:'g -> unit -> stmt
Sourceval stmt_asyncfunctiondef : ?lineno:'a -> ?end_lineno:'b -> ?end_col_offset:'c -> ?col_offset:'d -> ?type_comment:'e -> ?returns:'f -> ?name:'g -> ?decorator_list:'h -> ?body:'i -> ?args:'j -> unit -> stmt
Sourceval stmt_asyncfor : ?lineno:'a -> ?end_lineno:'b -> ?end_col_offset:'c -> ?col_offset:'d -> ?type_comment:'e -> ?target:'f -> ?orelse:'g -> ?iter:'h -> ?body:'i -> unit -> stmt
Sourceval stmt_assign : ?lineno:int -> ?end_lineno:'a -> ?end_col_offset:'b -> ?col_offset:int -> ?value:expr -> ?type_comment:'c -> ?targets:expr list -> unit -> stmt
Sourceval stmt_assert : ?lineno:int -> ?end_lineno:'a -> ?end_col_offset:'b -> ?col_offset:int -> ?test:expr -> ?msg:expr option -> unit -> stmt
Sourceval stmt_annassign : ?lineno:'a -> ?end_lineno:'b -> ?end_col_offset:'c -> ?col_offset:'d -> ?value:'e -> ?target:'f -> ?simple:'g -> ?annotation:'h -> unit -> stmt
Sourceval slice_slice : ?upper:expr option -> ?step:expr option -> ?lower:expr option -> unit -> slice
Sourceval slice_index : ?value:expr -> unit -> slice
Sourceval slice_extslice : ?dims:slice list -> unit -> slice
Sourceval slice_ellipsis : unit -> slice
Sourceval pattern_matchvalue : ?lineno:'a -> ?end_lineno:'b -> ?end_col_offset:'c -> ?col_offset:'d -> ?value:'e -> unit -> pattern
Sourceval pattern_matchstar : ?lineno:'a -> ?end_lineno:'b -> ?end_col_offset:'c -> ?col_offset:'d -> ?name:'e -> unit -> pattern
Sourceval pattern_matchsingleton : ?lineno:'a -> ?end_lineno:'b -> ?end_col_offset:'c -> ?col_offset:'d -> ?value:'e -> unit -> pattern
Sourceval pattern_matchsequence : ?lineno:'a -> ?end_lineno:'b -> ?end_col_offset:'c -> ?col_offset:'d -> ?patterns:'e -> unit -> pattern
Sourceval pattern_matchor : ?lineno:'a -> ?end_lineno:'b -> ?end_col_offset:'c -> ?col_offset:'d -> ?patterns:'e -> unit -> pattern
Sourceval pattern_matchmapping : ?lineno:'a -> ?end_lineno:'b -> ?end_col_offset:'c -> ?col_offset:'d -> ?rest:'e -> ?patterns:'f -> ?keys:'g -> unit -> pattern
Sourceval pattern_matchclass : ?lineno:'a -> ?end_lineno:'b -> ?end_col_offset:'c -> ?col_offset:'d -> ?patterns:'e -> ?kwd_patterns:'f -> ?kwd_attrs:'g -> ?cls:'h -> unit -> pattern
Sourceval pattern_matchas : ?lineno:'a -> ?end_lineno:'b -> ?end_col_offset:'c -> ?col_offset:'d -> ?pattern:'e -> ?name:'f -> unit -> pattern
Sourceval operator_sub : unit -> operator
Sourceval operator_rshift : unit -> operator
Sourceval operator_pow : unit -> operator
Sourceval operator_mult : unit -> operator
Sourceval operator_mod : unit -> operator
Sourceval operator_matmult : unit -> operator
Sourceval operator_lshift : unit -> operator
Sourceval operator_floordiv : unit -> operator
Sourceval operator_div : unit -> operator
Sourceval operator_bitxor : unit -> operator
Sourceval operator_bitor : unit -> operator
Sourceval operator_bitand : unit -> operator
Sourceval operator_add : unit -> operator
Sourceval mod_suite : ?body:stmt list -> unit -> mod_
Sourceval mod_module : ?type_ignores:'a -> ?body:stmt list -> unit -> mod_
Sourceval mod_interactive : ?body:stmt list -> unit -> mod_
Sourceval mod_functiontype : ?returns:'a -> ?argtypes:'b -> unit -> mod_
Sourceval mod_expression : ?body:expr -> unit -> mod_
Sourceval match_case : ?pattern:'a -> ?guard:'b -> ?body:'c -> unit -> match_case
Sourceval keyword : ?lineno:'a -> ?end_lineno:'b -> ?end_col_offset:'c -> ?col_offset:'d -> ?value:expr -> ?arg:keyword_arg -> unit -> keyword
Sourceval expr_context_store : unit -> expr_context
Sourceval expr_context_param : unit -> expr_context
Sourceval expr_context_load : unit -> expr_context
Sourceval expr_context_del : unit -> expr_context
Sourceval expr_context_augstore : unit -> expr_context
Sourceval expr_context_augload : unit -> expr_context
Sourceval expr_yieldfrom : ?lineno:'a -> ?end_lineno:'b -> ?end_col_offset:'c -> ?col_offset:'d -> ?value:'e -> unit -> expr
Sourceval expr_yield : ?lineno:int -> ?end_lineno:'a -> ?end_col_offset:'b -> ?col_offset:int -> ?value:expr option -> unit -> expr
Sourceval expr_unaryop : ?lineno:int -> ?end_lineno:'a -> ?end_col_offset:'b -> ?col_offset:int -> ?operand:expr -> ?op:unaryop -> unit -> expr
Sourceval expr_tuple : ?lineno:int -> ?end_lineno:'a -> ?end_col_offset:'b -> ?col_offset:int -> ?elts:expr list -> ?ctx:expr_context -> unit -> expr
Sourceval expr_subscript : ?lineno:int -> ?end_lineno:'a -> ?end_col_offset:'b -> ?col_offset:int -> ?value:expr -> ?slice:expr_subscript_slice -> ?ctx:expr_context -> unit -> expr
Sourceval expr_str : ?lineno:int -> ?end_lineno:'a -> ?end_col_offset:'b -> ?col_offset:int -> ?s:string -> unit -> expr
Sourceval expr_starred : ?lineno:int -> ?end_lineno:'a -> ?end_col_offset:'b -> ?col_offset:int -> ?value:expr -> ?ctx:expr_context -> unit -> expr
Sourceval expr_slice : ?lineno:'a -> ?end_lineno:'b -> ?end_col_offset:'c -> ?col_offset:'d -> ?upper:expr option -> ?step:expr option -> ?lower:expr option -> unit -> expr
Sourceval expr_setcomp : ?lineno:int -> ?end_lineno:'a -> ?end_col_offset:'b -> ?col_offset:int -> ?generators:comprehension list -> ?elt:expr -> unit -> expr
Sourceval expr_set : ?lineno:int -> ?end_lineno:'a -> ?end_col_offset:'b -> ?col_offset:int -> ?elts:expr list -> unit -> expr
Sourceval expr_repr : ?lineno:'a -> ?end_lineno:'b -> ?end_col_offset:'c -> ?col_offset:'d -> ?value:'e -> unit -> expr
Sourceval expr_num : ?lineno:int -> ?end_lineno:'a -> ?end_col_offset:'b -> ?col_offset:int -> ?n:object_ -> unit -> expr
Sourceval expr_namedexpr : ?lineno:'a -> ?end_lineno:'b -> ?end_col_offset:'c -> ?col_offset:'d -> ?value:'e -> ?target:'f -> unit -> expr
Sourceval expr_nameconstant : ?lineno:'a -> ?end_lineno:'b -> ?end_col_offset:'c -> ?col_offset:'d -> ?value:bool option -> unit -> expr
Sourceval expr_name : ?lineno:int -> ?end_lineno:'a -> ?end_col_offset:'b -> ?col_offset:int -> ?id:string -> ?ctx:expr_context -> unit -> expr
Sourceval expr_listcomp : ?lineno:int -> ?end_lineno:'a -> ?end_col_offset:'b -> ?col_offset:int -> ?generators:comprehension list -> ?elt:expr -> unit -> expr
Sourceval expr_list : ?lineno:int -> ?end_lineno:'a -> ?end_col_offset:'b -> ?col_offset:int -> ?elts:expr list -> ?ctx:expr_context -> unit -> expr
Sourceval expr_lambda : ?lineno:int -> ?end_lineno:'a -> ?end_col_offset:'b -> ?col_offset:int -> ?body:expr -> ?args:arguments -> unit -> expr
Sourceval expr_joinedstr : ?lineno:'a -> ?end_lineno:'b -> ?end_col_offset:'c -> ?col_offset:'d -> ?values:'e -> unit -> expr
Sourceval expr_ifexp : ?lineno:int -> ?end_lineno:'a -> ?end_col_offset:'b -> ?col_offset:int -> ?test:expr -> ?orelse:expr -> ?body:expr -> unit -> expr
Sourceval expr_generatorexp : ?lineno:int -> ?end_lineno:'a -> ?end_col_offset:'b -> ?col_offset:int -> ?generators:comprehension list -> ?elt:expr -> unit -> expr
Sourceval expr_formattedvalue : ?lineno:'a -> ?end_lineno:'b -> ?end_col_offset:'c -> ?col_offset:'d -> ?value:'e -> ?format_spec:'f -> ?conversion:'g -> unit -> expr
Sourceval expr_ellipsis : ?lineno:int -> ?end_lineno:'a -> ?end_col_offset:'b -> ?col_offset:int -> unit -> expr
Sourceval expr_dictcomp : ?lineno:int -> ?end_lineno:'a -> ?end_col_offset:'b -> ?col_offset:int -> ?value:expr -> ?key:expr -> ?generators:comprehension list -> unit -> expr
Sourceval expr_dict : ?lineno:int -> ?end_lineno:'a -> ?end_col_offset:'b -> ?col_offset:int -> ?values:expr list -> ?keys:expr list -> unit -> expr
Sourceval expr_constant : ?lineno:'a -> ?end_lineno:'b -> ?end_col_offset:'c -> ?col_offset:'d -> ?value:constant -> ?kind:'e -> unit -> expr
Sourceval expr_compare : ?lineno:int -> ?end_lineno:'a -> ?end_col_offset:'b -> ?col_offset:int -> ?ops:cmpop list -> ?left:expr -> ?comparators:expr list -> unit -> expr
Sourceval expr_call : ?lineno:int -> ?end_lineno:'a -> ?end_col_offset:'b -> ?col_offset:int -> ?starargs:expr option -> ?kwargs:expr option -> ?keywords:keyword list -> ?func:expr -> ?args:expr list -> unit -> expr
Sourceval expr_bytes : ?lineno:int -> ?end_lineno:'a -> ?end_col_offset:'b -> ?col_offset:int -> ?s:expr_bytes_s -> unit -> expr
Sourceval expr_boolop : ?lineno:int -> ?end_lineno:'a -> ?end_col_offset:'b -> ?col_offset:int -> ?values:expr list -> ?op:boolop -> unit -> expr
Sourceval expr_binop : ?lineno:int -> ?end_lineno:'a -> ?end_col_offset:'b -> ?col_offset:int -> ?right:expr -> ?op:operator -> ?left:expr -> unit -> expr
Sourceval expr_await : ?lineno:'a -> ?end_lineno:'b -> ?end_col_offset:'c -> ?col_offset:'d -> ?value:'e -> unit -> expr
Sourceval expr_attribute : ?lineno:int -> ?end_lineno:'a -> ?end_col_offset:'b -> ?col_offset:int -> ?value:expr -> ?ctx:expr_context -> ?attr:string -> unit -> expr
Sourceval excepthandler_excepthandler : ?lineno:int -> ?end_lineno:'a -> ?end_col_offset:'b -> ?col_offset:int -> ?type_:expr option -> ?name:excepthandler_excepthandler_name -> ?body:stmt list -> unit -> excepthandler
Sourceval excepthandler : ?lineno:'a -> ?end_lineno:'b -> ?end_col_offset:'c -> ?col_offset:'d -> ?type_:'e -> ?name:'f -> ?lineno:'g -> ?col_offset:'h -> ?body:'i -> unit -> excepthandler
Sourceval comprehension : ?target:expr -> ?iter:expr -> ?is_async:'a -> ?ifs:expr list -> unit -> comprehension
Sourceval cmpop_notin : unit -> cmpop
Sourceval cmpop_noteq : unit -> cmpop
Sourceval cmpop_lte : unit -> cmpop
Sourceval cmpop_lt : unit -> cmpop
Sourceval cmpop_isnot : unit -> cmpop
Sourceval cmpop_is : unit -> cmpop
Sourceval cmpop_in : unit -> cmpop
Sourceval cmpop_gte : unit -> cmpop
Sourceval cmpop_gt : unit -> cmpop
Sourceval cmpop_eq : unit -> cmpop
Sourceval boolop_or : unit -> boolop
Sourceval boolop_and : unit -> boolop
Sourceval arguments : ?varargannotation:expr option -> ?vararg:arguments_vararg -> ?posonlyargs:'a -> ?kwonlyargs:arg list -> ?kwargannotation:expr option -> ?kwarg:arguments_kwarg -> ?kw_defaults:expr list -> ?defaults:expr list -> ?args:arguments_args -> unit -> arguments
Sourceval arg : ?lineno:'a -> ?end_lineno:'b -> ?end_col_offset:'c -> ?col_offset:'d -> ?type_comment:'e -> ?arg:string -> ?annotation:expr option -> unit -> arg
Sourceval alias : ?lineno:'a -> ?end_lineno:'b -> ?end_col_offset:'c -> ?col_offset:'d -> ?name:string -> ?asname:string option -> unit -> alias
OCaml

Innovation. Community. Security.