Module Expr Str Assign NameStore Str Assign NameStore Str Assign NameStore ListLoad Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Import alias identifier Import alias TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body ImportFrom alias ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias ImportFrom alias Assign NameStore Str Expr Str Assign NameStore BinOpMod Str TupleLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Expr Str Assign NameStore Num Expr Str Expr Call AttributeLoad NameLoad attr ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults Num body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list Assign NameStore Call NameLoad NameLoad keyword Str FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list Assign NameStore Call NameLoad NameLoad keyword Str FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list Assign NameStore Call NameLoad NameLoad keyword Str FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list Assign NameStore Call NameLoad NameLoad keyword AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body TryExcept body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list Assign NameStore Call NameLoad NameLoad NameLoad keyword Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list Assign NameStore Call NameLoad NameLoad NameLoad keyword Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list Assign NameStore Call NameLoad NameLoad NameLoad keyword Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list Assign NameStore Call NameLoad NameLoad NameLoad keyword Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list Assign NameStore Call NameLoad NameLoad NameLoad keyword Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list Assign NameStore Call NameLoad NameLoad NameLoad keyword Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list Assign NameStore Call NameLoad NameLoad NameLoad keyword Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list Assign NameStore Call NameLoad NameLoad NameLoad keyword Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list Assign NameStore Call NameLoad NameLoad NameLoad keyword Str FunctionDef arguments args NameParam defaults vararg body Expr Str If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return For NameStore NameLoad body If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Str If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return For NameStore NameLoad body If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assert CompareNotIn AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assert CompareNotIn NameLoad AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assert CompareNotIn NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr NameLoad Delete SubscriptDel AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad vararg kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index TupleLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad vararg kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults vararg kwarg body Assign NameStore ListLoad TupleLoad NameLoad AttributeLoad NameLoad attr TupleLoad NameLoad AttributeLoad NameLoad attr TupleLoad NameLoad AttributeLoad NameLoad attr TupleLoad NameLoad AttributeLoad NameLoad attr Assign NameStore ListLoad For TupleStore NameStore NameStore NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Call Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareIn TupleLoad NameLoad NameLoad AttributeLoad NameLoad attr body Delete SubscriptDel AttributeLoad NameLoad attr Index TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults vararg kwarg body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad NameLoad Return Call NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults vararg kwarg body Expr Str If CompareIn NameLoad AttributeLoad NameLoad attr body Return NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call NameLoad NameLoad NameLoad NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad AugAssignAdd AttributeStore NameLoad attr Num Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Return Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num Num body Expr Str Assign AttributeStore NameLoad attr ListLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num Num body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot Call NameLoad NameLoad body Return NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If CompareIn NameLoad AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad orelse If CompareIn NameLoad AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Num Num body Expr Str Assign AttributeStore NameLoad attr ListLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad keyword NameLoad keyword NameLoad keyword Call NameLoad NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Num Num body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareNotEq NameLoad NameLoad body Return Call NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Num Num body Expr Str Assign AttributeStore NameLoad attr ListLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Num Num body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareNotEq NameLoad NameLoad body Return Call NameLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num Num body Expr Str Assign AttributeStore NameLoad attr ListLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr ListLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Return AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str If BoolOpAnd CompareEq NameLoad NameLoad CompareEq NameLoad NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list Assign NameStore Call NameLoad NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list Assign NameStore Call NameLoad NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list Assign NameStore Call NameLoad NameLoad NameLoad keyword Str FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list Assign NameStore Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list Assign NameStore Call NameLoad NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list Assign NameStore Call NameLoad NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list Assign NameStore Call NameLoad NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list Assign NameStore Call NameLoad NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list Assign NameStore Call NameLoad NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list Assign NameStore Call NameLoad NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list Assign NameStore Call NameLoad NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Return Call NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list Assign NameStore Call NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Call NameLoad NameLoad NameLoad Return Num decorator_list Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list Assign NameStore Call NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore BinOpMult AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return BinOpAdd IfExp NameLoad BinOpMult NameLoad AttributeLoad NameLoad attr Num IfExp NameLoad BinOpMult NameLoad AttributeLoad NameLoad attr Num decorator_list Assign NameStore Call NameLoad NameLoad keyword Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults TupleLoad Num Num body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults TupleLoad Num Num body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Assign NameStore Call NameLoad NameLoad keyword Str FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Assign NameStore Call NameLoad NameLoad keyword Str FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Assign NameStore Call NameLoad NameLoad keyword Str FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad NameLoad Return Num decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list Assign NameStore Call NameLoad NameLoad keyword Str FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list Assign NameStore Call NameLoad NameLoad keyword Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler body Pass decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list Assign NameStore Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad decorator_list Assign NameStore Call NameLoad NameLoad NameLoad keyword Str FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad decorator_list Assign NameStore Call NameLoad NameLoad NameLoad keyword Str FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad decorator_list Assign NameStore Call NameLoad NameLoad NameLoad keyword Str FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad decorator_list Assign NameStore Call NameLoad NameLoad NameLoad keyword Str FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad decorator_list Assign NameStore Call NameLoad NameLoad NameLoad keyword Str FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad decorator_list Assign NameStore Call NameLoad NameLoad NameLoad keyword Str FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad decorator_list Assign NameStore Call NameLoad NameLoad NameLoad keyword Str FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareNotEq AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad If CompareNotEq NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr orelse Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list Assign NameStore Call NameLoad NameLoad NameLoad keyword Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Return Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Assign NameStore Call NameLoad NameLoad keyword Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad If Call NameLoad NameLoad body Return Call NameLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults TupleLoad Num Num body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign NameStore IfExp CompareIs NameLoad NameLoad NameLoad AttributeLoad NameLoad attr If CompareNotEq NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Assign NameStore Call NameLoad NameLoad keyword Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Assign NameStore Call NameLoad NameLoad keyword Str decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign NameStore IfExp CompareIs NameLoad NameLoad NameLoad AttributeLoad NameLoad attr If CompareNotEq NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr attr decorator_list Assign NameStore Call NameLoad NameLoad keyword Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr attr decorator_list Assign NameStore Call NameLoad NameLoad keyword Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr attr decorator_list Assign NameStore Call NameLoad NameLoad keyword Str decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults TupleLoad Num Num Num body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore IfExp CompareIs NameLoad NameLoad NameLoad AttributeLoad NameLoad attr If CompareNotEq NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Assign NameStore Call NameLoad NameLoad keyword Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore NameLoad Assign AttributeStore NameLoad attr BinOpMult NameLoad Call NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad Num Num Assign NameStore Call NameLoad NameLoad If BoolOpAnd NameLoad UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call NameLoad Call NameLoad BinOpSub Call NameLoad NameLoad Num Num Num NameLoad For TupleStore NameStore NameStore NameLoad body Assign AttributeStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr SubscriptLoad NameLoad Index Num Assign AttributeStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults TupleLoad Num Num TupleLoad Num Num Num body Expr Str Assign TupleStore NameStore NameStore TupleLoad BinOpMult SubscriptLoad NameLoad Index Num Num BinOpMult SubscriptLoad NameLoad Index Num Num Assign NameStore ListLoad TupleLoad UnaryOpUSub NameLoad UnaryOpUSub NameLoad TupleLoad UnaryOpUSub NameLoad NameLoad TupleLoad NameLoad NameLoad TupleLoad NameLoad UnaryOpUSub NameLoad Return Call NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr For NameStore Call NameLoad Call NameLoad NameLoad body Assign NameStore BinOpAdd Call AttributeLoad BinOpAdd SubscriptLoad NameLoad Index NameLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults TupleLoad Num Num body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Assign NameStore Call NameLoad Lambda arguments args NameParam defaults AttributeLoad NameLoad attr keyword Str Assign NameStore Call NameLoad Lambda arguments args NameParam defaults AttributeLoad NameLoad attr keyword Str Assign NameStore Call NameLoad Lambda arguments args NameParam defaults AttributeLoad NameLoad attr keyword Str FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return BinOpMult Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults TupleLoad Num Num body Expr Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults TupleLoad Num Num body Expr Str Assign NameStore BinOpMult NameLoad Call NameLoad NameLoad Assign NameStore Call NameLoad Call NameLoad Num Num For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign AttributeStore SubscriptLoad NameLoad Index NameLoad attr SubscriptLoad NameLoad Index Num Assign AttributeStore SubscriptLoad NameLoad Index NameLoad attr SubscriptLoad NameLoad Index Num Return Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Expr Call AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list Assign NameStore Call NameLoad NameLoad keyword Str FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list Assign NameStore Call NameLoad NameLoad keyword Str FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list Assign NameStore Call NameLoad NameLoad keyword Str decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr ListLoad For NameStore Call NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Return AttributeLoad NameLoad attr decorator_list Assign NameStore Call NameLoad NameLoad keyword Str FunctionDef arguments args NameParam defaults body Assign NameStore Call Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Assign TupleStore NameStore NameStore TupleLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return TupleLoad NameLoad NameLoad decorator_list Assign NameStore Call NameLoad NameLoad keyword Str FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list Assign NameStore Call NameLoad NameLoad NameLoad keyword Str FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list Assign NameStore Call NameLoad NameLoad NameLoad keyword Str FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list Assign NameStore Call NameLoad NameLoad keyword Str FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Assign NameStore Call NameLoad NameLoad keyword Str FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Assign NameStore Call NameLoad NameLoad keyword Str FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Assign NameStore Call NameLoad NameLoad keyword Str FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list Assign NameStore Call NameLoad NameLoad keyword Str FunctionDef arguments args NameParam defaults body Return Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Assign NameStore Call NameLoad NameLoad keyword Str decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults vararg body Expr Str If CompareEq Call NameLoad NameLoad Num body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr orelse If CompareEq Call NameLoad NameLoad Num body Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Num orelse Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return BoolOpAnd CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return UnaryOpNot Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list Assign NameStore Call NameLoad Lambda arguments args NameParam defaults AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad Lambda arguments args NameParam defaults AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad Lambda arguments args NameParam defaults AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad Lambda arguments args NameParam defaults AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list decorator_list
N/A N/A 
pymunk is a easy-to-use pythonic 2d physics library that can be used whenever 
you need 2d rigid body physics from Python.

Homepage: http://www.pymunk.org

This is the main containing module of pymunk. It contains among other things 
the very central Space, Body and Shape classes.

When you import this module it will automatically load the chipmunk library 
file. As long as you haven't turned off the debug mode a print will show 
exactly which Chipmunk library file it loaded. For example::

    >>> import pymunk
    Loading chipmunk for Windows (32bit) [C:\code\pymunk\chipmunk.dll]

 N/A __version__ $Id: __init__.py 541 2013-08-22 17:36:25Z vb@viblo.se $ N/A __docformat__ reStructuredText N/A __all__ N/A inf version chipmunk_version Space Body Shape Circle Poly Segment moment_for_circle moment_for_poly moment_for_segment moment_for_box reset_shapeid_counter SegmentQueryInfo Contact Arbiter BB N/A ctypes ct N/A weakref N/A N/A weakref WeakSet N/A N/A N/A ImportError N/A weakrefset WeakSet N/A _chipmunk cp N/A _chipmunk_ffi cpffi N/A util u vec2d Vec2d pymunk.constraint * N/A version 4.0.0 N/A The release version of this pymunk installation.
Valid only if pymunk was installed from a source or binary 
distribution (i.e. not in a checked-out copy from svn).
 N/A chipmunk_version N/A %sR%s N/A N/A N/A N/A N/A cp cpVersionString value decode 3bdf1b7b3c N/A The Chipmunk version compatible with this pymunk version.
Other (newer) Chipmunk versions might also work if the new version does not 
contain any breaking API changes.

This property does not show a valid value in the compiled documentation, only 
when you actually import pymunk and do pymunk.chipmunk_version

The string is in the following format:
<cpVersionString>R<svn or github commit of chipmunk>
where cpVersionString is a version string set by Chipmunk and the svn version 
corresponds to the svn version of the chipmunk source files included with 
pymunk or the github commit hash. If the Chipmunk version is a release then 
the second part will be empty

.. note:: 
    This is also the version of the Chipmunk source files included in the 
    chipmunk_src folder (normally included in the pymunk source distribution).
 N/A inf 1e+100 N/A Infinity that can be passed as mass or inertia to Body. 

Useful when you for example want a body that cannot rotate, just set its 
moment to inf. Just remember that if two objects with both infinite masses 
collides the world might explode. Similary effects can happen with infinite 
moment.

.. note::
    In previous versions of pymunk you used inf to create static bodies. This
    has changed and you should instead do it by invoking the body constructor 
    without any arguments.
 N/A N/A N/A cp cpEnableSegmentToSegmentCollisions Space N/A object N/A N/A Spaces are the basic unit of simulation. You add rigid bodies, shapes 
    and joints to it and then step them all forward together through time. 
     __init__ N/A N/A self iterations N/A 10 N/A N/A Create a new instace of the Space
        
        Its usually best to keep the elastic_iterations setting to 0. Only 
        change if you have problem with stacking elastic objects on each other. 
        If that is the case, try to raise it. However, a value other than 0 
        will affect other parts, most importantly you wont get reliable 
        total_impulse readings from the `Arbiter` object in collsion callbacks!
        
        :Parameters:
            iterations : int
                Number of iterations to use in the impulse solver to solve 
                contacts.
         N/A N/A self _space N/A N/A cp cpSpaceNew N/A N/A N/A N/A self _space contents iterations iterations N/A N/A self _static_body N/A Body N/A N/A self _handlers N/A N/A N/A self _default_handler None N/A N/A self _post_step_callbacks N/A N/A N/A self _post_callback_keys N/A N/A N/A self _post_last_callback_key 0 N/A N/A self _removed_shapes N/A N/A N/A self _shapes N/A N/A N/A self _bodies N/A set N/A N/A self _constraints N/A set N/A N/A self _locked False N/A N/A self _add_later N/A set N/A N/A self _remove_later N/A set N/A _get_shapes N/A N/A self N/A N/A N/A N/A list N/A N/A N/A self _shapes values N/A N/A shapes N/A property _get_shapes doc A list of all the shapes added to this space (both static and non-static) _get_bodies N/A N/A self N/A N/A N/A N/A list N/A self _bodies N/A N/A bodies N/A property _get_bodies doc A list of the bodies added to this space _get_constraints N/A N/A self N/A N/A N/A N/A list N/A self _constraints N/A N/A constraints N/A property _get_constraints doc A list of the constraints added to this space _get_static_body N/A N/A self N/A N/A N/A A convenience static body already added to the space N/A N/A self _static_body N/A N/A static_body N/A property _get_static_body doc N/A _get_static_body __doc__ __del__ N/A N/A self N/A N/A N/A N/A N/A N/A N/A cp cpSpaceFree N/A self _space N/A N/A N/A N/A N/A _set_iterations N/A N/A self iterations N/A N/A N/A N/A N/A N/A self _space contents iterations iterations N/A _get_iterations N/A N/A self N/A N/A N/A N/A N/A N/A self _space contents iterations N/A N/A iterations N/A property _get_iterations _set_iterations doc Number of iterations to use in the impulse solver to solve 
        contacts. _set_gravity N/A N/A self gravity_vec N/A N/A N/A N/A N/A N/A self _space contents gravity gravity_vec N/A _get_gravity N/A N/A self N/A N/A N/A N/A N/A N/A self _space contents gravity N/A N/A gravity N/A property _get_gravity _set_gravity doc Default gravity to supply when integrating rigid body motions. _set_damping N/A N/A self damping N/A N/A N/A N/A N/A N/A self _space contents damping damping N/A _get_damping N/A N/A self N/A N/A N/A N/A N/A N/A self _space contents damping N/A N/A damping N/A property _get_damping _set_damping doc Damping rate expressed as the fraction of velocity bodies 
        retain each second.
        
        A value of 0.9 would mean that each body's velocity will drop 10% per 
        second. The default value is 1.0, meaning no damping is applied. _set_idle_speed_threshold N/A N/A self idle_speed_threshold N/A N/A N/A N/A N/A N/A self _space contents idleSpeedThreshold idle_speed_threshold N/A _get_idle_speed_threshold N/A N/A self N/A N/A N/A N/A N/A N/A self _space contents idleSpeedThreshold N/A N/A idle_speed_threshold N/A property _get_idle_speed_threshold _set_idle_speed_threshold doc Speed threshold for a body to be considered idle.
        The default value of 0 means to let the space guess a good threshold 
        based on gravity. _set_sleep_time_threshold N/A N/A self sleep_time_threshold N/A N/A N/A N/A N/A N/A self _space contents sleepTimeThreshold sleep_time_threshold N/A _get_sleep_time_threshold N/A N/A self N/A N/A N/A N/A N/A N/A self _space contents sleepTimeThreshold N/A N/A sleep_time_threshold N/A property _get_sleep_time_threshold _set_sleep_time_threshold doc Time a group of bodies must remain idle in order to fall 
        asleep.
        
        Enabling sleeping also implicitly enables the the contact graph. The 
        default value of `inf` disables the sleeping algorithm. _set_collision_slop N/A N/A self collision_slop N/A N/A N/A N/A N/A N/A self _space contents collisionSlop collision_slop N/A _get_collision_slop N/A N/A self N/A N/A N/A N/A N/A N/A self _space contents collisionSlop N/A N/A collision_slop N/A property _get_collision_slop _set_collision_slop doc Amount of allowed penetration.
        
        Used to reduce oscillating contacts and keep the collision cache warm. 
        Defaults to 0.1. If you have poor simulation quality, increase this 
        number as much as possible without allowing visible amounts of 
        overlap. _set_collision_bias N/A N/A self collision_bias N/A N/A N/A N/A N/A N/A self _space contents collisionBias collision_bias N/A _get_collision_bias N/A N/A self N/A N/A N/A N/A N/A N/A self _space contents collisionBias N/A N/A collision_bias N/A property _get_collision_bias _set_collision_bias doc Determines how fast overlapping shapes are pushed apart.
        
        Expressed as a fraction of the error remaining after each second. 
        Defaults to pow(1.0 - 0.1, 60.0) meaning that pymunk fixes 10% of 
        overlap each frame at 60Hz. _set_collision_persistence N/A N/A self collision_persistence N/A N/A N/A N/A N/A N/A self _space contents collisionPersistence collision_persistence N/A _get_collision_persistence N/A N/A self N/A N/A N/A N/A N/A N/A self _space contents collisionPersistence N/A N/A collision_persistence N/A property _get_collision_persistence _set_collision_persistence doc Number of frames that contact information should persist.
        
        Defaults to 3. There is probably never a reason to change this value.
         _set_enable_contact_graph N/A N/A self enable_contact_graph N/A N/A N/A N/A N/A N/A self _space contents enableContactGraph enable_contact_graph N/A _get_enable_contact_graph N/A N/A self N/A N/A N/A N/A N/A N/A self _space contents enableContactGraph N/A N/A enable_contact_graph N/A property _get_enable_contact_graph _set_enable_contact_graph doc Rebuild the contact graph during each step. 
        
        Must be enabled to use the get_arbiter() function on Body
        Disabled by default for a small performance boost. Enabled implicitly 
        when the sleeping feature is enabled.
         add N/A N/A self N/A objs N/A N/A Add one or many shapes, bodies or joints to the space
        
        Unlike Chipmunk and earlier versions of pymunk its now allowed to add 
        objects even from a callback during the simulation step. However, the 
        add will not be performed until the end of the step.
         N/A N/A self _locked N/A N/A N/A N/A N/A self _add_later add objs N/A N/A o objs N/A N/A N/A isinstance o Body N/A N/A N/A N/A self _add_body o N/A N/A N/A isinstance o Shape N/A N/A N/A N/A self _add_shape o N/A N/A N/A isinstance o Constraint N/A N/A N/A N/A self _add_constraint o N/A N/A oo o N/A N/A N/A N/A self add oo N/A remove N/A N/A self N/A objs N/A N/A Remove one or many shapes, bodies or constraints from the space
        
        Unlike Chipmunk and earlier versions of pymunk its now allowed to 
        remove objects even from a callback during the simulation step. 
        However, the removal will not be performed until the end of the step.
        
        .. Note:: 
            When removing objects from the space, make sure you remove any 
            other objects that reference it. For instance, when you remove a 
            body, remove the joints and shapes attached to it. 
         N/A N/A self _locked N/A N/A N/A N/A N/A self _remove_later add objs N/A N/A o objs N/A N/A N/A isinstance o Body N/A N/A N/A N/A self _remove_body o N/A N/A N/A isinstance o Shape N/A N/A N/A N/A self _remove_shape o N/A N/A N/A isinstance o Constraint N/A N/A N/A N/A self _remove_constraint o N/A N/A oo o N/A N/A N/A N/A self remove oo N/A _add_shape N/A N/A self shape N/A N/A N/A Adds a shape to the space N/A N/A N/A shape _hashid_private N/A self _shapes shape already added to space N/A N/A N/A self _shapes N/A N/A shape _hashid_private shape N/A N/A N/A cp cpSpaceAddShape N/A self _space N/A shape _shape N/A _add_body N/A N/A self body N/A N/A N/A Adds a body to the space N/A N/A body N/A self _bodies body already added to space N/A N/A body _space N/A N/A weakref proxy self N/A N/A N/A N/A self _bodies add body N/A N/A N/A cp cpSpaceAddBody N/A self _space N/A body _body N/A _add_constraint N/A N/A self constraint N/A N/A N/A Adds a constraint to the space N/A N/A constraint N/A self _constraints constraint already added to space N/A N/A N/A N/A self _constraints add constraint N/A N/A N/A cp cpSpaceAddConstraint N/A self _space N/A constraint _constraint N/A _remove_shape N/A N/A self shape N/A N/A N/A Removes a shape from the space N/A N/A N/A self _removed_shapes N/A N/A shape _hashid_private shape N/A N/A N/A self _shapes N/A N/A shape _hashid_private N/A N/A N/A cp cpSpaceRemoveShape N/A self _space N/A shape _shape N/A _remove_body N/A N/A self body N/A N/A N/A Removes a body from the space N/A N/A body _space None N/A N/A N/A N/A self _bodies remove body N/A N/A N/A cp cpSpaceRemoveBody N/A self _space N/A body _body N/A _remove_constraint N/A N/A self constraint N/A N/A N/A Removes a constraint from the space N/A N/A N/A N/A self _constraints remove constraint N/A N/A N/A cp cpSpaceRemoveConstraint N/A self _space N/A constraint _constraint N/A reindex_static N/A N/A self N/A N/A N/A Update the collision detection info for the static shapes in the 
        space. You only need to call this if you move one of the static shapes.
         N/A N/A N/A cp cpSpaceReindexStatic N/A self _space N/A reindex_shape N/A N/A self shape N/A N/A N/A Update the collision detection data for a specific shape in the 
        space.
         N/A N/A N/A cp cpSpaceReindexShape N/A self _space N/A shape _shape N/A step N/A N/A self dt N/A N/A N/A Update the space for the given time step. Using a fixed time step is
        highly recommended. Doing so will increase the efficiency of the
        contact persistence, requiring an order of magnitude fewer iterations
        to resolve the collisions in the usual case. N/A N/A self _locked True N/A N/A N/A cp cpSpaceStep N/A self _space dt N/A N/A self _removed_shapes N/A N/A N/A self _post_step_callbacks N/A N/A N/A self _post_callback_keys N/A N/A N/A self _post_last_callback_key 0 N/A N/A self _locked False N/A objs N/A self _add_later N/A N/A N/A N/A self add objs N/A N/A N/A N/A self _add_later clear N/A objs N/A self _remove_later N/A N/A N/A N/A self remove objs N/A N/A N/A N/A self _remove_later clear N/A add_collision_handler N/A N/A self a b begin pre_solve post_solve separate N/A None None None None args kwargs N/A N/A Add a collision handler for given collision type pair. 
        
        Whenever a shapes with collision_type a and collision_type b collide, 
        these callbacks will be used to process the collision. 
        None can be provided for callbacks you do not wish to implement, 
        however pymunk will call it's own default versions for these and not 
        the default ones you've set up for the Space. If you need to fall back 
        on the space's default callbacks, you'll have to provide them 
        individually to each handler definition.
        
        :Parameters:
            a : int
                Collision type of the first shape
            b : int 
                Collision type of the second shape
            begin : ``func(space, arbiter, *args, **kwargs) -> bool``
                Collision handler called when two shapes just started touching 
                for the first time this step. Return false from the callback 
                to make pymunk ignore the collision or true to process it 
                normally. Rejecting a collision from a begin() callback 
                permanently rejects the collision until separation. Pass 
                `None` if you wish to use the pymunk default.
            pre_solve : ``func(space, arbiter, *args, **kwargs) -> bool``
                Collision handler called when two shapes are touching. Return 
                false from the callback to make pymunk ignore the collision or 
                true to process it normally. Additionally, you may override 
                collision values such as `Arbiter.elasticity` and 
                `Arbiter.friction` to provide custom friction or elasticity 
                values. See `Arbiter` for more info. Pass `None` if you wish 
                to use the pymunk default.
            post_solve : ``func(space, arbiter, *args, **kwargs)``
                Collsion handler called when two shapes are touching and their 
                collision response has been processed. You can retrieve the 
                collision force at this time if you want to use it to 
                calculate sound volumes or damage amounts. Pass `None` if you 
                wish to use the pymunk default.
            separate : ``func(space, arbiter, *args, **kwargs)``
                Collision handler called when two shapes have just stopped 
                touching for the first time this frame. Pass `None` if you 
                wish to use the pymunk default.
            args
                Optional parameters passed to the collision handler functions.
            kwargs
                Optional keyword parameters passed on to the collision handler 
                functions.
                
         N/A _functions N/A N/A self _collision_function_helper begin pre_solve post_solve separate args kwargs N/A N/A N/A self _handlers N/A N/A a b _functions N/A N/A N/A cp cpSpaceAddCollisionHandler N/A self _space a b N/A _functions N/A 0 N/A _functions N/A 1 N/A _functions N/A 2 N/A _functions N/A 3 None N/A set_default_collision_handler N/A N/A self begin pre_solve post_solve separate N/A None None None None args kwargs N/A N/A Register a default collision handler to be used when no specific 
        collision handler is found. If you do nothing, the space will be given 
        a default handler that accepts all collisions in begin() and 
        pre_solve() and does nothing for the post_solve() and separate() 
        callbacks. 
        
        :Parameters:
            begin : ``func(space, arbiter, *args, **kwargs) -> bool``
                Collision handler called when two shapes just started touching 
                for the first time this step. Return False from the callback 
                to make pymunk ignore the collision or True to process it 
                normally. Rejecting a collision from a begin() callback 
                permanently rejects the collision until separation. Pass 
                `None` if you wish to use the pymunk default.
            pre_solve : ``func(space, arbiter, *args, **kwargs) -> bool``
                Collision handler called when two shapes are touching. Return 
                False from the callback to make pymunk ignore the collision or 
                True to process it normally. Additionally, you may override 
                collision values such as Arbiter.elasticity and 
                Arbiter.friction to provide custom friction or elasticity 
                values. See Arbiter for more info. Pass `None` if you wish to 
                use the pymunk default.
            post_solve : ``func(space, arbiter, *args, **kwargs)``
                Collsion handler called when two shapes are touching and their 
                collision response has been processed. You can retrieve the 
                collision force at this time if you want to use it to 
                calculate sound volumes or damage amounts. Pass `None` if you 
                wish to use the pymunk default.
            separate : ``func(space, arbiter, *args, **kwargs)``
                Collision handler called when two shapes have just stopped 
                touching for the first time this frame. Pass `None` if you wish 
                to use the pymunk default.
            args
                Optional parameters passed to the collision handler functions.
            kwargs
                Optional keyword parameters passed on to the collision handler 
                functions.
         N/A _functions N/A N/A self _collision_function_helper begin pre_solve post_solve separate args kwargs N/A N/A self _default_handler _functions N/A N/A N/A cp cpSpaceSetDefaultCollisionHandler N/A self _space N/A _functions N/A 0 N/A _functions N/A 1 N/A _functions N/A 2 N/A _functions N/A 3 None N/A _collision_function_helper N/A N/A self begin pre_solve post_solve separate N/A args kwargs N/A N/A functions N/A N/A begin N/A cp cpCollisionBeginFunc N/A pre_solve N/A cp cpCollisionPreSolveFunc N/A post_solve N/A cp cpCollisionPostSolveFunc N/A separate N/A cp cpCollisionSeparateFunc N/A _functions N/A N/A N/A func func_type functions N/A N/A N/A func None N/A N/A _f N/A N/A ct cast N/A N/A N/A ct POINTER N/A ct c_int func_type N/A N/A _f N/A N/A self _get_cf1 func func_type args kwargs N/A N/A N/A _functions append _f N/A _functions N/A remove_collision_handler N/A N/A self a b N/A N/A N/A Remove a collision handler for a given collision type pair.
        
        :Parameters:
            a : int
                Collision type of the first shape
            b : int
                Collision type of the second shape
         N/A N/A N/A a b N/A self _handlers N/A N/A N/A N/A self _handlers N/A N/A a b N/A N/A N/A cp cpSpaceRemoveCollisionHandler N/A self _space a b N/A _get_cf1 N/A N/A self func function_type N/A args kwargs N/A cf N/A N/A _arbiter _space _data N/A N/A N/A arbiter N/A Arbiter _arbiter self N/A N/A func self arbiter args kwargs N/A N/A N/A function_type cf N/A add_post_step_callback N/A N/A self callback_function obj N/A args kwargs N/A N/A Add a function to be called last in the next simulation step.
                
        Post step callbacks are registered as a function and an object used as 
        a key. You can only register one post step callback per object. 
        
        This function was more useful with earlier versions of pymunk where 
        you weren't allowed to use the add and remove methods on the space 
        during a simulation step. But this function is still available for 
        other uses and to keep backwards compatibility. 
        
        .. Note::
            If you remove a shape from the callback it will trigger the
            collision handler for the 'separate' event if it the shape was 
            touching when removed.
        
        :Parameters:
            callback_function : ``func(obj, *args, **kwargs)``
                The callback function.
            obj : Any object
                This object is used as a key, you can only have one callback 
                for a single object. It is passed on to the callback function.
            args
                Optional parameters passed to the callback function.
            kwargs
                Optional keyword parameters passed on to the callback function.
                
        :Return: 
            True if key was not previously added, False otherwise
         N/A N/A obj N/A self _post_callback_keys N/A N/A False cf N/A N/A _space key data N/A N/A N/A N/A callback_function obj args kwargs N/A N/A f N/A N/A cp cpPostStepFunc cf N/A N/A self _post_last_callback_key 1 N/A N/A N/A self _post_callback_keys N/A obj N/A self _post_last_callback_key N/A N/A N/A self _post_step_callbacks N/A obj f N/A key N/A N/A self _post_callback_keys N/A obj N/A N/A bool N/A N/A cp cpSpaceAddPostStepCallback N/A self _space f key None N/A point_query N/A N/A self point layers group N/A -1 0 N/A N/A Query space at point filtering out matches with the given layers 
        and group. Return a list of found shapes.
        
        If you don't want to filter out any matches, use -1 for the layers 
        and 0 as the group.
        
        :Parameters:    
            point : (x,y) or `Vec2d`
                Define where to check for collision in the space.
            layers : int
                Only pick shapes matching the bit mask. i.e. 
                (layers & shape.layers) != 0
            group : int
                Only pick shapes not in this group.
                
         N/A N/A self __query_hits N/A cf N/A N/A _shape data N/A N/A N/A shape N/A N/A self _get_shape _shape N/A N/A N/A N/A self __query_hits append shape N/A N/A f N/A N/A cp cpSpacePointQueryFunc cf N/A N/A N/A cp cpSpacePointQuery N/A self _space point layers group f None N/A N/A self __query_hits N/A point_query_first N/A N/A self point layers group N/A -1 0 N/A N/A Query space at point and return the first shape found matching the 
        given layers and group. Returns None if no shape was found.
        
        :Parameters:    
            point : (x,y) or `Vec2d`
                Define where to check for collision in the space.
            layers : int
                Only pick shapes matching the bit mask. i.e. 
                (layers & shape.layers) != 0
            group : int
                Only pick shapes not in this group.
         N/A _shape N/A N/A cp cpSpacePointQueryFirst N/A self _space point layers group N/A N/A N/A self _get_shape _shape N/A _get_shape N/A N/A self _shape N/A N/A N/A N/A N/A bool _shape N/A N/A None N/A hashid_private N/A N/A _shape contents hashid_private N/A N/A hashid_private N/A self _shapes N/A N/A shape N/A N/A self _shapes N/A hashid_private N/A N/A N/A hashid_private N/A self _removed_shapes N/A N/A shape N/A N/A self _removed_shapes N/A hashid_private N/A shape N/A nearest_point_query N/A N/A self point max_distance layers group N/A -1 0 N/A N/A Query space at point filtering out matches with the given layers 
        and group. Return a list of all shapes within max_distance of the point.
        
        If you don't want to filter out any matches, use -1 for the layers 
        and 0 as the group.
        
        :Parameters:    
            point : (x,y) or `Vec2d`
                Define where to check for collision in the space.
            max_distance : int
                Maximumm distance of shape from point
            layers : int
                Only pick shapes matching the bit mask. i.e. 
                (layers & shape.layers) != 0
            group : int
                Only pick shapes not in this group.
        
        :Return: 
            [dict(shape=`Shape`, distance = distance, point = Vec2d)]
         N/A N/A self __query_hits N/A cf N/A N/A _shape distance point data N/A N/A N/A shape N/A N/A self _get_shape _shape N/A N/A N/A N/A self __query_hits append N/A dict shape shape distance distance point N/A Vec2d point N/A N/A f N/A N/A cp cpSpaceNearestPointQueryFunc cf N/A N/A N/A cp cpSpaceNearestPointQuery N/A self _space point max_distance layers group f None N/A N/A self __query_hits N/A nearest_point_query_nearest N/A N/A self point max_distance layers group N/A -1 0 N/A N/A Query space at point filtering out matches with the given layers 
        and group. Return nearest of all shapes within max_distance of the 
        point.
        
        If you don't want to filter out any matches, use -1 for the layers 
        and 0 as the group.
        
        :Parameters:    
            point : (x,y) or `Vec2d`
                Define where to check for collision in the space.
            max_distance : int
                Maximumm distance of shape from point
            layers : int
                Only pick shapes matching the bit mask. i.e. 
                (layers & shape.layers) != 0
            group : int
                Only pick shapes not in this group.
        
        :Return: 
            dict(shape=`Shape`, distance = distance, point = Vec2d)
         N/A info N/A N/A cp cpNearestPointQueryInfo N/A info_p N/A N/A N/A ct POINTER N/A cp cpNearestPointQueryInfo info N/A _shape N/A N/A cp cpSpaceNearestPointQueryNearest N/A self _space point max_distance layers group info_p N/A shape N/A N/A self _get_shape _shape N/A N/A shape None N/A N/A N/A dict shape shape point N/A info p distance N/A info d N/A None N/A segment_query N/A N/A self start end layers group N/A -1 0 N/A N/A Query space along the line segment from start to end filtering out 
        matches with the given layers and group. 
        
        Segment queries are like ray casting, but because pymunk uses a 
        spatial hash to process collisions, it cannot process infinitely 
        long queries like a ray. In practice this is still very fast and you 
        don't need to worry too much about the performance as long as you 
        aren't using very long segments for your queries. 
        
        :Return: 
            [`SegmentQueryInfo`] - One SegmentQueryInfo object for each hit.
         N/A N/A self __query_hits N/A cf N/A N/A _shape t n data N/A N/A N/A shape N/A N/A self _get_shape _shape N/A info N/A SegmentQueryInfo shape start end t n N/A N/A N/A N/A self __query_hits append info N/A N/A f N/A N/A cp cpSpaceSegmentQueryFunc cf N/A N/A N/A cp cpSpaceSegmentQuery N/A self _space start end layers group f None N/A N/A self __query_hits N/A segment_query_first N/A N/A self start end layers group N/A -1 0 N/A N/A Query space along the line segment from start to end filtering out 
        matches with the given layers and group. Only the first shape 
        encountered is returned and the search is short circuited. 
        Returns None if no shape was found.
         N/A info N/A N/A cp cpSegmentQueryInfo N/A info_p N/A N/A N/A ct POINTER N/A cp cpSegmentQueryInfo info N/A _shape N/A N/A cp cpSpaceSegmentQueryFirst N/A self _space start end layers group info_p N/A shape N/A N/A self _get_shape _shape N/A N/A shape None N/A N/A N/A SegmentQueryInfo shape start end N/A info t N/A info n N/A None N/A bb_query N/A N/A self bb layers group N/A -1 0 N/A N/A Perform a fast rectangle query on the space.
        
        Only the shape's bounding boxes are checked for overlap, not their 
        full shape. Returns a list of shapes.
         N/A N/A self __query_hits N/A cf N/A N/A _shape data N/A N/A N/A shape N/A N/A self _get_shape _shape N/A N/A N/A N/A self __query_hits append shape N/A N/A f N/A N/A cp cpSpaceBBQueryFunc cf N/A N/A N/A cp cpSpaceBBQuery N/A self _space N/A bb _bb layers group f None N/A N/A self __query_hits N/A shape_query N/A N/A self shape N/A N/A N/A Query a space for any shapes overlapping the given shape
        
        Returns a list of shapes.
         N/A N/A self __query_hits N/A cf N/A N/A _shape points data N/A N/A N/A shape N/A N/A self _get_shape _shape N/A N/A N/A N/A self __query_hits append shape N/A N/A f N/A N/A cp cpSpaceShapeQueryFunc cf N/A N/A N/A cp cpSpaceShapeQuery N/A self _space N/A shape _shape f None N/A N/A self __query_hits N/A N/A Body N/A object N/A N/A A rigid body
    
    * Use forces to modify the rigid bodies if possible. This is likely to be 
      the most stable.
    * Modifying a body's velocity shouldn't necessarily be avoided, but 
      applying large changes can cause strange results in the simulation. 
      Experiment freely, but be warned.
    * Don't modify a body's position every step unless you really know what 
      you are doing. Otherwise you're likely to get the position/velocity badly 
      out of sync. 
     __init__ N/A N/A self mass moment N/A None None N/A N/A Create a new Body
        
        To create a static body, pass in None for mass and moment.
         N/A N/A N/A mass None N/A moment None N/A N/A N/A self _body N/A N/A cp cpBodyNewStatic N/A N/A N/A self _body N/A N/A cp cpBodyNew mass moment N/A N/A self _bodycontents N/A N/A self _body contents N/A N/A self _position_callback None N/A N/A self _velocity_callback None N/A N/A self _space None N/A N/A self _constraints N/A WeakSet N/A N/A self _shapes N/A WeakSet N/A __del__ N/A N/A self N/A N/A N/A N/A N/A N/A N/A cp cpBodyFree N/A self _body N/A N/A N/A N/A N/A _set_mass N/A N/A self mass N/A N/A N/A N/A N/A cp cpBodySetMass N/A self _body mass N/A _get_mass N/A N/A self N/A N/A N/A N/A N/A self _bodycontents m N/A N/A mass N/A property _get_mass _set_mass _set_moment N/A N/A self moment N/A N/A N/A N/A N/A cp cpBodySetMoment N/A self _body moment N/A _get_moment N/A N/A self N/A N/A N/A N/A N/A self _bodycontents i N/A N/A moment N/A property _get_moment _set_moment _set_angle N/A N/A self angle N/A N/A N/A N/A N/A cp cpBodySetAngle N/A self _body angle N/A _get_angle N/A N/A self N/A N/A N/A N/A N/A self _bodycontents a N/A N/A angle N/A property _get_angle _set_angle doc The rotation of the body. 
        
        .. Note:: 
            If you get small/no changes to the angle when for example a 
            ball is "rolling" down a slope it might be because the Circle shape 
            attached to the body or the slope shape does not have any friction 
            set. _get_rotation_vector N/A N/A self N/A N/A N/A N/A N/A self _bodycontents rot N/A N/A rotation_vector N/A property _get_rotation_vector _set_torque N/A N/A self t N/A N/A N/A N/A N/A self _bodycontents t t N/A _get_torque N/A N/A self N/A N/A N/A N/A N/A self _bodycontents t N/A N/A torque N/A property _get_torque _set_torque _set_position N/A N/A self pos N/A N/A N/A N/A N/A self _bodycontents p pos N/A _get_position N/A N/A self N/A N/A N/A N/A N/A self _bodycontents p N/A N/A position N/A property _get_position _set_position _set_velocity N/A N/A self vel N/A N/A N/A N/A N/A self _bodycontents v vel N/A _get_velocity N/A N/A self N/A N/A N/A N/A N/A self _bodycontents v N/A N/A velocity N/A property _get_velocity _set_velocity _set_velocity_limit N/A N/A self vel N/A N/A N/A N/A N/A self _bodycontents v_limit vel N/A _get_velocity_limit N/A N/A self N/A N/A N/A N/A N/A self _bodycontents v_limit N/A N/A velocity_limit N/A property _get_velocity_limit _set_velocity_limit _set_angular_velocity N/A N/A self w N/A N/A N/A N/A N/A self _bodycontents w w N/A _get_angular_velocity N/A N/A self N/A N/A N/A N/A N/A self _bodycontents w N/A N/A angular_velocity N/A property _get_angular_velocity _set_angular_velocity _set_angular_velocity_limit N/A N/A self w N/A N/A N/A N/A N/A self _bodycontents w_limit w N/A _get_angular_velocity_limit N/A N/A self N/A N/A N/A N/A N/A self _bodycontents w_limit N/A N/A angular_velocity_limit N/A property _get_angular_velocity_limit _set_angular_velocity_limit _set_force N/A N/A self f N/A N/A N/A N/A N/A self _bodycontents f f N/A _get_force N/A N/A self N/A N/A N/A N/A N/A self _bodycontents f N/A N/A force N/A property _get_force _set_force _set_velocity_func N/A N/A self func N/A N/A N/A The velocity callback function. The velocity callback function 
        is called each time step, and can be used to set a body's velocity.
        
            ``func(body, gravity, damping, dt) -> None``
            
            Callback Parameters
                body : `Body`
                    Body that should have its velocity calculated
                gravity : `Vec2d`
                    The gravity vector
                damping : float
                    The damping
                dt : float
                    Delta time since last step.
         _impl N/A N/A _ gravity damping dt N/A N/A N/A N/A func self gravity damping dt N/A N/A N/A self _velocity_callback N/A N/A cp cpBodyVelocityFunc _impl N/A N/A N/A self _bodycontents velocity_func N/A self _velocity_callback N/A N/A velocity_func N/A property fset _set_velocity_func doc N/A _set_velocity_func __doc__ _set_position_func N/A N/A self func N/A N/A N/A The position callback function. The position callback function 
        is called each time step and can be used to update the body's position.
        
            ``func(body, dt) -> None``
            
            Callback Parameters
                body : `Body`
                    Body that should have its velocity calculated
                dt : float
                    Delta time since last step.
         _impl N/A N/A _ dt N/A N/A N/A N/A func self dt N/A 0 N/A N/A N/A self _position_callback N/A N/A cp cpBodyPositionFunc _impl N/A N/A N/A self _bodycontents position_func N/A self _position_callback N/A N/A position_func N/A property fset _set_position_func doc N/A _set_position_func __doc__ _get_kinetic_energy N/A N/A self N/A N/A N/A vsq N/A N/A N/A self velocity dot N/A self velocity N/A wsq N/A N/A self angular_velocity N/A self angular_velocity N/A N/A N/A vsq N/A vsq N/A self mass 0.0 N/A wsq N/A wsq N/A self moment 0.0 N/A N/A kinetic_energy N/A property _get_kinetic_energy doc Get the kinetic energy of a body. update_velocity N/A N/A body gravity damping dt N/A N/A N/A Default rigid body velocity integration function. 
        
        Updates the velocity of the body using Euler integration.
         N/A N/A N/A cp cpBodyUpdateVelocity N/A body _body gravity damping dt N/A staticmethod update_position N/A N/A body dt N/A N/A N/A Default rigid body position integration function. 
        
        Updates the position of the body using Euler integration. Unlike the 
        velocity function, it's unlikely you'll want to override this 
        function. If you do, make sure you understand it's source code 
        (in Chipmunk) as it's an important part of the collision/joint 
        correction process. 
         N/A N/A N/A cp cpBodyUpdatePosition N/A body _body dt N/A staticmethod apply_impulse N/A N/A self j r N/A N/A 0 0 N/A N/A Apply the impulse j to body at a relative offset (important!) r 
        from the center of gravity. Both r and j are in world coordinates. 
        
        :Parameters:
            j : (x,y) or `Vec2d`
                Impulse to be applied
            r : (x,y) or `Vec2d`
                Offset the impulse with this vector
         N/A N/A N/A cp cpBodyApplyImpulse N/A self _body j r N/A reset_forces N/A N/A self N/A N/A N/A Zero both the forces and torques accumulated on body N/A N/A N/A cp cpBodyResetForces N/A self _body N/A apply_force N/A N/A self f r N/A N/A 0 0 N/A N/A Apply (accumulate) the force f on body at a relative offset 
        (important!) r from the center of gravity. 
        
        Both r and f are in world coordinates. 
        
        :Parameters:
            f : (x,y) or `Vec2d`
                Force in world coordinates
            r : (x,y) or `Vec2d`
                Offset in world coordinates
         N/A N/A N/A cp cpBodyApplyForce N/A self _body f r N/A activate N/A N/A self N/A N/A N/A Wake up a sleeping or idle body. N/A N/A N/A cp cpBodyActivate N/A self _body N/A sleep N/A N/A self N/A N/A N/A Force a body to fall asleep immediately. N/A N/A N/A cp cpBodySleep N/A self _body N/A sleep_with_group N/A N/A self body N/A N/A N/A Force a body to fall asleep immediately along with other bodies in a group.
         N/A N/A N/A cp cpBodySleepWithGroup N/A self _body N/A body _body N/A _is_sleeping N/A N/A self N/A N/A N/A N/A N/A cpffi cpBodyIsSleeping N/A self _body N/A N/A is_sleeping N/A property _is_sleeping doc Returns true if the body is sleeping. _is_rogue N/A N/A self N/A N/A N/A N/A N/A cpffi cpBodyIsRogue N/A self _body N/A N/A is_rogue N/A property _is_rogue doc Returns true if the body has not been added to a space. _is_static N/A N/A self N/A N/A N/A N/A N/A cpffi cpBodyIsStatic N/A self _body N/A N/A is_static N/A property _is_static doc Returns true if the body is a static body each_arbiter N/A N/A self func N/A args kwargs N/A N/A Run func on each of the arbiters on this body.
        
            ``func(arbiter, *args, **kwargs) -> None``
            
            Callback Parameters
                arbiter : `Arbiter`
                    The Arbiter
                args
                    Optional parameters passed to the callback function.
                kwargs
                    Optional keyword parameters passed on to the callback function.
                    
        .. warning::
            
            Do not hold on to the Arbiter after the callback!                
         impl N/A N/A body _arbiter _ N/A N/A N/A arbiter N/A Arbiter _arbiter N/A self _space N/A N/A func arbiter args kwargs N/A 0 N/A N/A f N/A N/A cp cpBodyArbiterIteratorFunc impl N/A N/A N/A cp cpBodyEachArbiter N/A self _body f None N/A _get_constraints N/A N/A self N/A N/A N/A N/A set N/A self _constraints N/A N/A constraints N/A property _get_constraints doc Get the constraints this body is attached to. _get_shapes N/A N/A self N/A N/A N/A N/A set N/A self _shapes N/A N/A shapes N/A property _get_shapes doc Get the shapes attached to this body. local_to_world N/A N/A self v N/A N/A N/A Convert body local coordinates to world space coordinates
        
        :Parameters:
            v : (x,y) or `Vec2d`
                Vector in body local coordinates
         N/A N/A N/A cpffi cpBodyLocal2World N/A self _body v N/A world_to_local N/A N/A self v N/A N/A N/A Convert world space coordinates to body local coordinates
        
        :Parameters:
            v : (x,y) or `Vec2d`
                Vector in world space coordinates
         N/A N/A N/A cpffi cpBodyWorld2Local N/A self _body v N/A N/A Shape N/A object N/A N/A Base class for all the shapes. 
    
    You usually dont want to create instances of this class directly but use 
    one of the specialized shapes instead.
     __init__ N/A N/A self shape N/A None N/A N/A N/A self _shape shape N/A N/A self _shapecontents N/A N/A self _shape contents N/A N/A self _body N/A shape body N/A N/A self data None N/A __del__ N/A N/A self N/A N/A N/A N/A N/A N/A N/A cp cpShapeFree N/A self _shape N/A N/A N/A N/A N/A _get_hashid_private N/A N/A self N/A N/A N/A N/A N/A self _shapecontents hashid_private N/A N/A _hashid_private N/A property _get_hashid_private _get_sensor N/A N/A self N/A N/A N/A N/A bool N/A N/A self _shapecontents sensor N/A _set_sensor N/A N/A self is_sensor N/A N/A N/A N/A N/A self _shapecontents sensor is_sensor N/A N/A sensor N/A property _get_sensor _set_sensor doc A boolean value if this shape is a sensor or not. Sensors only
        call collision callbacks, and never generate real collisions. _get_collision_type N/A N/A self N/A N/A N/A N/A N/A self _shapecontents collision_type N/A _set_collision_type N/A N/A self t N/A N/A N/A N/A N/A self _shapecontents collision_type t N/A N/A collision_type N/A property _get_collision_type _set_collision_type doc User defined collision type for the shape. See 
        add_collisionpair_func function for more information on when to use 
        this property _get_group N/A N/A self N/A N/A N/A N/A N/A self _shapecontents group N/A _set_group N/A N/A self group N/A N/A N/A N/A N/A self _shapecontents group group N/A N/A group N/A property _get_group _set_group doc Shapes in the same non-zero group do not generate collisions. 
        Useful when creating an object out of many shapes that you don't want 
        to self collide. Defaults to 0 _get_layers N/A N/A self N/A N/A N/A N/A N/A self _shapecontents layers N/A _set_layers N/A N/A self layers N/A N/A N/A N/A N/A self _shapecontents layers layers N/A N/A layers N/A property _get_layers _set_layers doc Shapes only collide if they are in the same bit-planes. 
        i.e. (a.layers & b.layers) != 0. By default, a shape occupies all 
        32 bit-planes, i.e. layers == -1 _get_elasticity N/A N/A self N/A N/A N/A N/A N/A self _shapecontents e N/A _set_elasticity N/A N/A self e N/A N/A N/A N/A N/A self _shapecontents e e N/A N/A elasticity N/A property _get_elasticity _set_elasticity doc Elasticity of the shape. A value of 0.0 gives no bounce, 
        while a value of 1.0 will give a 'perfect' bounce. However due to 
        inaccuracies in the simulation using 1.0 or greater is not 
        recommended. _get_friction N/A N/A self N/A N/A N/A N/A N/A self _shapecontents u N/A _set_friction N/A N/A self u N/A N/A N/A N/A N/A self _shapecontents u u N/A N/A friction N/A property _get_friction _set_friction doc Friction coefficient. pymunk uses the Coulomb friction model, a 
        value of 0.0 is frictionless.
        
        A value over 1.0 is perfectly fine.
        
        Some real world example values from wikipedia (Remember that 
        it is what looks good that is important, not the exact value).
        
        ==============  ======  ========
        Material        Other   Friction
        ==============  ======  ========
        Aluminium       Steel   0.61
        Copper          Steel   0.53
        Brass           Steel   0.51
        Cast iron       Copper  1.05
        Cast iron       Zinc    0.85
        Concrete (wet)  Rubber  0.30
        Concrete (dry)  Rubber  1.0 
        Concrete        Wood    0.62
        Copper          Glass   0.68
        Glass           Glass   0.94
        Metal           Wood    0.5
        Polyethene      Steel   0.2
        Steel           Steel   0.80
        Steel           Teflon  0.04
        Teflon (PTFE)   Teflon  0.04
        Wood            Wood    0.4
        ==============  ======  ========
         _get_surface_velocity N/A N/A self N/A N/A N/A N/A N/A self _shapecontents surface_v N/A _set_surface_velocity N/A N/A self surface_v N/A N/A N/A N/A N/A self _shapecontents surface_v surface_v N/A N/A surface_velocity N/A property _get_surface_velocity _set_surface_velocity doc The surface velocity of the object. Useful for creating 
        conveyor belts or players that move around. This value is only used 
        when calculating friction, not resolving the collision. _get_body N/A N/A self N/A N/A N/A N/A self _body N/A _set_body N/A N/A self body N/A N/A N/A N/A N/A self _body None N/A N/A N/A N/A N/A N/A self _body _shapes remove self N/A N/A body None N/A N/A N/A N/A N/A body _shapes add self N/A N/A N/A self _shapecontents body N/A body _body N/A N/A N/A N/A self _shapecontents body None N/A N/A self _body body N/A N/A body N/A property _get_body _set_body doc The body this shape is attached to. Can be set to None to 
        indicate that this shape doesnt belong to a body. update N/A N/A self position rotation_vector N/A N/A N/A Update, cache and return the bounding box of a shape with an 
        explicit transformation.
        
        Useful if you have a shape without a body and want to use it for 
        querying.
         N/A N/A BB N/A N/A cp cpShapeUpdate N/A self _shape position rotation_vector N/A cache_bb N/A N/A self N/A N/A N/A Update and returns the bouding box of this shape N/A N/A BB N/A N/A cp cpShapeCacheBB N/A self _shape N/A _get_bb N/A N/A self N/A N/A N/A N/A BB N/A N/A cpffi cpShapeGetBB N/A self _shape N/A N/A bb N/A property _get_bb doc The bounding box of the shape.
    Only guaranteed to be valid after Shape.cache_bb() or Space.step() is 
    called. Moving a body that a shape is connected to does not update it's 
    bounding box. For shapes used for queries that aren't attached to bodies, 
    you can also use Shape.update().
     point_query N/A N/A self p N/A N/A N/A Check if the given point lies within the shape. N/A N/A bool N/A N/A cp cpShapePointQuery N/A self _shape p N/A segment_query N/A N/A self start end N/A N/A N/A Check if the line segment from start to end intersects the shape. 
        
        Return either SegmentQueryInfo object or None
         N/A info N/A N/A cp cpSegmentQueryInfo N/A info_p N/A N/A N/A ct POINTER N/A cp cpSegmentQueryInfo info N/A r N/A N/A cp cpShapeSegmentQuery N/A self _shape start end info_p N/A N/A bool r N/A N/A N/A SegmentQueryInfo self start end N/A info t N/A info n N/A N/A None N/A N/A Circle N/A Shape N/A N/A A circle shape defined by a radius
    
    This is the fastest and simplest collision shape
     __init__ N/A N/A self body radius offset N/A N/A 0 0 N/A N/A body is the body attach the circle to, offset is the offset from the
        body's center of gravity in body local coordinates.
        
        It is legal to send in None as body argument to indicate that this 
        shape is not attached to a body.
         N/A N/A self _body body N/A body_body N/A N/A body None None N/A body _body N/A N/A body None N/A N/A N/A N/A N/A body _shapes add self N/A N/A self _shape N/A N/A cp cpCircleShapeNew body_body radius offset N/A N/A self _shapecontents N/A N/A self _shape contents N/A N/A self _cs N/A N/A ct cast N/A self _shape N/A N/A ct POINTER N/A cp cpCircleShape N/A unsafe_set_radius N/A N/A self r N/A N/A N/A Unsafe set the radius of the circle. 
    
        .. note:: 
            This change is only picked up as a change to the position 
            of the shape's surface, but not it's velocity. Changing it will 
            not result in realistic physical behavior. Only use if you know 
            what you are doing!
         N/A N/A N/A cp cpCircleShapeSetRadius N/A self _shape r N/A _get_radius N/A N/A self N/A N/A N/A N/A N/A cp cpCircleShapeGetRadius N/A self _shape N/A N/A radius N/A property _get_radius doc The Radius of the circle unsafe_set_offset N/A N/A self o N/A N/A N/A Unsafe set the offset of the circle. 
    
        .. note:: 
            This change is only picked up as a change to the position 
            of the shape's surface, but not it's velocity. Changing it will 
            not result in realistic physical behavior. Only use if you know 
            what you are doing!
         N/A N/A N/A cp cpCircleShapeSetOffset N/A self _shape o N/A _get_offset N/A N/A self N/A N/A N/A N/A N/A cp cpCircleShapeGetOffset N/A self _shape N/A N/A offset N/A property _get_offset doc Offset. (body space coordinates) N/A Segment N/A Shape N/A N/A A line segment shape between two points
    
    This shape can be attached to moving bodies, but don't currently generate 
    collisions with other line segments. Can be beveled in order to give it a 
    thickness. 
    
    It is legal to send in None as body argument to indicate that this 
    shape is not attached to a body.
     __init__ N/A N/A self body a b radius N/A N/A N/A Create a Segment
        
        :Parameters:
            body : `Body`
                The body to attach the segment to
            a : (x,y) or `Vec2d`
                The first endpoint of the segment
            b : (x,y) or `Vec2d`
                The second endpoint of the segment
            radius : float
                The thickness of the segment
         N/A N/A self _body body N/A body_body N/A N/A body None None N/A body _body N/A N/A body None N/A N/A N/A N/A N/A body _shapes add self N/A N/A self _shape N/A N/A cp cpSegmentShapeNew body_body a b radius N/A N/A self _shapecontents N/A N/A self _shape contents N/A unsafe_set_a N/A N/A self a N/A N/A N/A Set the first of the two endpoints for this segment

        .. note:: 
            This change is only picked up as a change to the position 
            of the shape's surface, but not it's velocity. Changing it will 
            not result in realistic physical behavior. Only use if you know 
            what you are doing!
         N/A N/A N/A N/A N/A ct cast N/A self _shape N/A N/A ct POINTER N/A cp cpSegmentShape contents a a N/A _get_a N/A N/A self N/A N/A N/A N/A N/A N/A N/A ct cast N/A self _shape N/A N/A ct POINTER N/A cp cpSegmentShape contents a N/A N/A a N/A property _get_a doc The first of the two endpoints for this segment unsafe_set_b N/A N/A self b N/A N/A N/A Set the second of the two endpoints for this segment

        .. note:: 
            This change is only picked up as a change to the position 
            of the shape's surface, but not it's velocity. Changing it will 
            not result in realistic physical behavior. Only use if you know 
            what you are doing!
         N/A N/A N/A N/A N/A ct cast N/A self _shape N/A N/A ct POINTER N/A cp cpSegmentShape contents b b N/A _get_b N/A N/A self N/A N/A N/A N/A N/A N/A N/A ct cast N/A self _shape N/A N/A ct POINTER N/A cp cpSegmentShape contents b N/A N/A b N/A property _get_b doc The second of the two endpoints for this segment unsafe_set_radius N/A N/A self r N/A N/A N/A Set the radius of the segment

        .. note:: 
            This change is only picked up as a change to the position 
            of the shape's surface, but not it's velocity. Changing it will 
            not result in realistic physical behavior. Only use if you know 
            what you are doing!
         N/A N/A N/A N/A N/A ct cast N/A self _shape N/A N/A ct POINTER N/A cp cpSegmentShape contents r r N/A _get_radius N/A N/A self N/A N/A N/A N/A N/A N/A N/A ct cast N/A self _shape N/A N/A ct POINTER N/A cp cpSegmentShape contents r N/A N/A radius N/A property _get_radius doc The radius/thickness of the segment N/A Poly N/A Shape N/A N/A A convex polygon shape
    
    Slowest, but most flexible collision shape.

    It is legal to send in None as body argument to indicate that this 
    shape is not attached to a body.    
     __init__ N/A N/A self body vertices offset radius N/A N/A 0 0 0 N/A N/A Create a polygon
        
            body : `Body`
                The body to attach the poly to
            vertices : [(x,y)] or [`Vec2d`]
                Define a convex hull of the polygon with a counterclockwise
                winding.
            offset : (x,y) or `Vec2d`
                The offset from the body's center of gravity in body local 
                coordinates.
            radius : int
                Set the radius of the poly shape.
         N/A N/A self _body body N/A N/A self offset offset N/A N/A N/A self _set_verts vertices N/A body_body N/A N/A body None None N/A body _body N/A N/A body None N/A N/A N/A N/A N/A body _shapes add self N/A N/A self _shape N/A N/A cp cpPolyShapeNew2 body_body N/A len vertices N/A self verts offset radius N/A N/A self _shapecontents N/A N/A self _shape contents N/A unsafe_set_radius N/A N/A self radius N/A N/A N/A Unsafe set the radius of the poly.

        .. note:: 
            This change is only picked up as a change to the position 
            of the shape's surface, but not it's velocity. Changing it will 
            not result in realistic physical behavior. Only use if you know 
            what you are doing!
         N/A N/A N/A cp cpPolyShapeSetRadius N/A self _shape radius N/A _get_radius N/A N/A self N/A N/A N/A N/A N/A cp cpPolyShapeGetRadius N/A self _shape N/A N/A radius N/A property _get_radius doc The radius of the poly shape. Extends the poly in all 
        directions with the given radius _set_verts N/A N/A self vertices N/A N/A N/A auto_order_vertices True N/A N/A self verts N/A Vec2d N/A len vertices N/A N/A self verts N/A N/A self verts N/A Vec2d 0 0 N/A i_vs N/A enumerate vertices N/A N/A auto_order_vertices N/A N/A N/A u is_clockwise vertices N/A N/A i_vs N/A zip N/A range N/A N/A len vertices 1 -1 -1 vertices N/A N/A i vertex i_vs N/A N/A N/A N/A N/A self verts N/A i x N/A vertex N/A 0 N/A N/A N/A N/A self verts N/A i y N/A vertex N/A 1 N/A create_box N/A N/A body size offset radius N/A N/A 10 10 N/A 0 0 0 N/A N/A Convenience function to create a box centered around the body position.

        The size is given as as (w,h) tuple.
         N/A N/A x y N/A N/A N/A size N/A 0 0.5 N/A N/A size N/A 1 0.5 N/A vs N/A N/A N/A x N/A y N/A N/A x y N/A x y N/A x N/A y N/A N/A Poly body vs offset radius N/A staticmethod get_vertices N/A N/A self N/A N/A N/A Get the vertices in world coordinates for the polygon
        
        :return: [`Vec2d`] in world coords
         N/A points N/A N/A rv N/A N/A self _body rotation_vector N/A bp N/A N/A self _body position N/A vs N/A self verts N/A o N/A self offset N/A i N/A range N/A len vs N/A N/A p N/A N/A N/A N/A N/A vs N/A i o cpvrotate rv bp N/A N/A N/A points append N/A Vec2d p N/A points N/A unsafe_set_vertices N/A N/A self vertices offset N/A N/A 0 0 N/A N/A Unsafe set the vertices of the poly. 
    
        .. note:: 
            This change is only picked up as a change to the position 
            of the shape's surface, but not it's velocity. Changing it will 
            not result in realistic physical behavior. Only use if you know 
            what you are doing!
         N/A N/A N/A self _set_verts vertices N/A N/A N/A cp cpPolyShapeSetVerts N/A self _shape N/A len vertices N/A self verts offset N/A N/A SegmentQueryInfo N/A object N/A N/A Segment queries return more information than just a simple yes or no, 
    they also return where a shape was hit and it's surface normal at the hit 
    point. This object hold that information.
     __init__ N/A N/A self shape start end t n N/A N/A N/A You shouldn't need to initialize SegmentQueryInfo objects on your 
        own.
         N/A N/A self _shape shape N/A N/A self _t t N/A N/A self _n n N/A N/A self _start start N/A N/A self _end end N/A __repr__ N/A N/A self N/A N/A N/A N/A SegmentQueryInfo(%s, %s, %s, %s, %s) N/A N/A self shape N/A self _start N/A self _end N/A self t N/A self n N/A N/A shape N/A property N/A N/A N/A self N/A N/A self _shape doc Shape that was hit N/A t N/A property N/A N/A N/A self N/A N/A self _t doc Distance along query segment, will always be in the range [0, 1] N/A n N/A property N/A N/A N/A self N/A N/A self _n doc Normal of hit surface get_hit_point N/A N/A self N/A N/A N/A Return the hit point in world coordinates where the segment first 
        intersected with the shape
         N/A N/A N/A N/A Vec2d N/A self _start interpolate_to N/A self _end N/A self t N/A get_hit_distance N/A N/A self N/A N/A N/A Return the absolute distance where the segment first hit the shape
         N/A N/A N/A N/A N/A Vec2d N/A self _start get_distance N/A self _end N/A self t N/A N/A moment_for_circle N/A N/A mass inner_radius outer_radius offset N/A N/A 0 0 N/A N/A Calculate the moment of inertia for a circle N/A N/A N/A cp cpMomentForCircle mass inner_radius outer_radius offset N/A moment_for_segment N/A N/A mass a b N/A N/A N/A Calculate the moment of inertia for a segment N/A N/A N/A cp cpMomentForSegment mass a b N/A moment_for_poly N/A N/A mass vertices offset N/A N/A 0 0 N/A N/A Calculate the moment of inertia for a polygon N/A verts N/A Vec2d N/A len vertices N/A verts N/A verts N/A Vec2d 0 0 N/A N/A i vertex N/A enumerate vertices N/A N/A N/A N/A verts N/A i x N/A vertex N/A 0 N/A N/A N/A verts N/A i y N/A vertex N/A 1 N/A N/A N/A cp cpMomentForPoly mass N/A len verts verts offset N/A moment_for_box N/A N/A mass width height N/A N/A N/A Calculate the momentn of inertia for a box N/A N/A N/A cp cpMomentForBox mass width height N/A reset_shapeid_counter N/A N/A N/A N/A N/A Reset the internal shape counter
    
    pymunk keeps a counter so that every new shape is given a unique hash 
    value to be used in the spatial hash. Because this affects the order in 
    which the collisions are found and handled, you should reset the shape 
    counter every time you populate a space with new shapes. If you don't, 
    there might be (very) slight differences in the simulation.
     N/A N/A N/A cp cpResetShapeIdCounter N/A Contact N/A object N/A N/A Contact information __init__ N/A N/A self _contact N/A N/A N/A Initialize a Contact object from the Chipmunk equivalent struct
        
        .. note:: 
            You should never need to create an instance of this class directly.
         N/A N/A self _point N/A _contact point N/A N/A self _normal N/A _contact normal N/A N/A self _dist N/A _contact dist N/A __repr__ N/A N/A self N/A N/A N/A N/A Contact(p: %s, n: %s, d: %s) N/A N/A self position N/A self normal N/A self distance N/A _get_position N/A N/A self N/A N/A N/A N/A self _point N/A N/A position N/A property _get_position doc Contact position _get_normal N/A N/A self N/A N/A N/A N/A self _normal N/A N/A normal N/A property _get_normal doc Contact normal _get_distance N/A N/A self N/A N/A N/A N/A self _dist N/A N/A distance N/A property _get_distance doc Penetration distance N/A Arbiter N/A object N/A N/A Arbiters are collision pairs between shapes that are used with the 
    collision callbacks.
    
    .. Warning::
        Because arbiters are handled by the space you should never 
        hold onto a reference to an arbiter as you don't know when it will be 
        destroyed! Use them within the callback where they are given to you 
        and then forget about them or copy out the information you need from 
        them.
     __init__ N/A N/A self _arbiter space N/A N/A N/A Initialize an Arbiter object from the Chipmunk equivalent struct 
        and the Space.
        
        .. note::
            You should never need to create an instance of this class directly.
         N/A N/A self _arbiter _arbiter N/A N/A self _arbitercontents N/A N/A self _arbiter contents N/A N/A self _space space N/A N/A self _contacts None N/A _get_contacts N/A N/A self N/A N/A N/A point_set N/A N/A cp cpArbiterGetContactPointSet N/A self _arbiter N/A N/A N/A self _contacts None N/A N/A N/A self _contacts N/A N/A i N/A range N/A point_set count N/A N/A N/A N/A N/A self contacts append N/A Contact N/A N/A point_set points N/A i N/A N/A self _contacts N/A N/A contacts N/A property _get_contacts doc Information on the contact points between the objects. Return [`Contact`] _get_shapes N/A N/A self N/A N/A N/A shapeA_p N/A N/A N/A ct POINTER N/A cp cpShape N/A shapeB_p N/A N/A N/A ct POINTER N/A cp cpShape N/A N/A N/A cpffi cpArbiterGetShapes N/A self _arbiter shapeA_p shapeB_p N/A N/A a b N/A N/A N/A N/A self _space _get_shape shapeA_p N/A N/A N/A self _space _get_shape shapeB_p N/A N/A a b N/A N/A shapes N/A property _get_shapes doc Get the shapes in the order that they were defined in the 
        collision handler associated with this arbiter _get_elasticity N/A N/A self N/A N/A N/A N/A N/A N/A self _arbiter contents e N/A _set_elasticity N/A N/A self elasticity N/A N/A N/A N/A N/A N/A self _arbiter contents e elasticity N/A N/A elasticity N/A property _get_elasticity _set_elasticity doc Elasticity _get_friction N/A N/A self N/A N/A N/A N/A N/A N/A self _arbiter contents u N/A _set_friction N/A N/A self friction N/A N/A N/A N/A N/A N/A self _arbiter contents u friction N/A N/A friction N/A property _get_friction _set_friction doc Friction _get_surface_velocity N/A N/A self N/A N/A N/A N/A N/A N/A self _arbiter contents surface_vr N/A N/A surface_velocity N/A property _get_surface_velocity doc Used for surface_v calculations, implementation may change _get_total_impulse N/A N/A self N/A N/A N/A N/A N/A cp cpArbiterTotalImpulse N/A self _arbiter N/A N/A total_impulse N/A property _get_total_impulse doc Returns the impulse that was applied this step to resolve the 
        collision.
        
        This property should only be called from a post-solve, post-step _get_total_impulse_with_friction N/A N/A self N/A N/A N/A N/A N/A cp cpArbiterTotalImpulseWithFriction N/A self _arbiter N/A N/A total_impulse_with_friction N/A property _get_total_impulse_with_friction doc Returns the impulse with friction that was applied this step to 
        resolve the collision.
        
        This property should only be called from a post-solve, post-step _get_total_ke N/A N/A self N/A N/A N/A N/A N/A cp cpArbiterTotalKE N/A self _arbiter N/A N/A total_ke N/A property _get_total_ke doc The amount of energy lost in a collision including static, but 
        not dynamic friction.
        
        This property should only be called from a post-solve, post-step _get_stamp N/A N/A self N/A N/A N/A N/A N/A N/A self _arbiter contents stamp N/A N/A stamp N/A property _get_stamp doc Time stamp of the arbiter. (from the space) _get_is_first_contact N/A N/A self N/A N/A N/A N/A bool N/A N/A cpffi cpArbiterIsFirstContact N/A self _arbiter N/A N/A is_first_contact N/A property _get_is_first_contact doc Returns true if this is the first step that an arbiter existed. 
        You can use this from preSolve and postSolve to know if a collision 
        between two shapes is new without needing to flag a boolean in your 
        begin callback. N/A BB N/A object N/A N/A Simple bounding box class. Stored as left, bottom, right, top values. __init__ N/A N/A self N/A args N/A N/A Create a new instance of a bounding box. Can be created with zero 
        size with bb = BB() or with four args defining left, bottom, right and
        top: bb = BB(left, bottom, right, top)
         N/A N/A N/A len args 0 N/A N/A N/A self _bb N/A N/A cp cpBB N/A N/A N/A N/A len args 1 N/A N/A N/A self _bb N/A args N/A 0 N/A N/A N/A self _bb N/A N/A cpffi cpBBNew N/A args N/A 0 N/A args N/A 1 N/A args N/A 2 N/A args N/A 3 N/A __repr__ N/A N/A self N/A N/A N/A N/A BB(%s, %s, %s, %s) N/A N/A self left N/A self bottom N/A self right N/A self top N/A __eq__ N/A N/A self other N/A N/A N/A N/A N/A N/A self left N/A other left N/A N/A self bottom N/A other bottom N/A N/A self right N/A other right N/A N/A self top N/A other top N/A __ne__ N/A N/A self other N/A N/A N/A N/A N/A N/A self __eq__ other N/A intersects N/A N/A self other N/A N/A N/A Returns true if the bounding boxes intersect N/A N/A bool N/A N/A cpffi cpBBIntersects N/A self _bb N/A other _bb N/A contains N/A N/A self other N/A N/A N/A Returns true if bb completley contains the other bb N/A N/A bool N/A N/A cpffi cpBBContainsBB N/A self _bb N/A other _bb N/A contains_vect N/A N/A self v N/A N/A N/A Returns true if this bb contains the vector v N/A N/A bool N/A N/A cpffi cpBBContainsVect N/A self _bb v N/A merge N/A N/A self other N/A N/A N/A Return the minimal bounding box that contains both this bb and the 
        other bb
         N/A N/A BB N/A N/A cpffi cpBBMerge N/A self _bb N/A other _bb N/A expand N/A N/A self v N/A N/A N/A Return the minimal bounding box that contans both this bounding box 
        and the vector v
         N/A N/A BB N/A N/A cpffi cpBBExpand N/A self _bb v N/A N/A left N/A property N/A N/A N/A self N/A N/A N/A self _bb l N/A bottom N/A property N/A N/A N/A self N/A N/A N/A self _bb b N/A right N/A property N/A N/A N/A self N/A N/A N/A self _bb r N/A top N/A property N/A N/A N/A self N/A N/A N/A self _bb t clamp_vect N/A N/A self v N/A N/A N/A Returns a copy of the vector v clamped to the bounding box N/A N/A N/A cpffi cpBBClampVect N/A self _bb v N/A wrap_vect N/A N/A self v N/A N/A N/A Returns a copy of v wrapped to the bounding box.
        That is, BB(0,0,10,10).wrap_vect((5,5)) == Vec2d(10,10)
         N/A N/A N/A cp cpBBWrapVect N/A self _bb v N/A N/A