Module ImportFrom alias alias alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias Import alias Import alias Import alias TryExcept body ImportFrom alias alias alias handlers ExceptHandler type NameLoad body Raise Call NameLoad Str TryExcept body Import alias ImportFrom alias Assert CompareGtE Call NameLoad AttributeLoad NameLoad attr Call NameLoad Str handlers ExceptHandler type TupleLoad NameLoad NameLoad body Raise Call NameLoad Str Assign NameStore Str Assign NameStore ListLoad Str Str Str Str Str Str Str Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Str TupleLoad Str Str Str Str Expr Str ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Pass decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad NameLoad body Return NameLoad If Call NameLoad NameLoad Str body Return Call NameLoad NameLoad Return Call NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str If BoolOpAnd NameLoad NameLoad body Raise Call NameLoad Str If NameLoad body Assign NameStore Call NameLoad GeneratorExp Call NameLoad Call AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad orelse Assign NameStore Call NameLoad GeneratorExp TupleLoad NameLoad Call NameLoad Call AttributeLoad NameLoad attr NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str body Pass decorator_list NameLoad decorator_list Call AttributeLoad NameLoad attr NameLoad ClassDef bases NameLoad body Expr Str Pass decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Str Return BinOpAdd BinOpAdd SubscriptLoad NameLoad Index Num Str Call NameLoad Call NameLoad SubscriptLoad NameLoad Index Num decorator_list decorator_list Assign AttributeStore NameLoad attr Call NameLoad Str ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Raise Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Raise Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str body Expr Str Raise Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Return BinOpMod Str AttributeLoad Call NameLoad NameLoad attr decorator_list Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Return Call NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call Call NameLoad NameLoad decorator_list decorator_list AttributeLoad NameLoad attr ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Call Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Call Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str body Expr Str If Call AttributeLoad NameLoad attr NameLoad body Return NameLoad Raise Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad Call NameLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return SubscriptLoad Call NameLoad Call AttributeLoad NameLoad attr Slice Num Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults CompareEq NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults CompareNotEq NameLoad NameLoad decorator_list decorator_list AttributeLoad NameLoad attr ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Return Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults CompareGt NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults CompareGtE NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults CompareLt NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults CompareLtE NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad NameLoad body Return NameLoad Return Call AttributeLoad NameLoad attr BinOpAdd NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad NameLoad body Return NameLoad Return Call AttributeLoad NameLoad attr BinOpSub NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad NameLoad body Return NameLoad Return Call AttributeLoad NameLoad attr BinOpMult NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad NameLoad body Return NameLoad Return Call AttributeLoad NameLoad attr BinOpDiv NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad NameLoad body Return NameLoad Return Call AttributeLoad NameLoad attr BinOpFloorDiv NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad NameLoad body Return NameLoad Return Call AttributeLoad NameLoad attr BinOpPow NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad NameLoad body Return NameLoad Return Call AttributeLoad NameLoad attr BinOpMod NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad NameLoad body Return NameLoad Return Call AttributeLoad NameLoad attr BinOpDiv NameLoad Call NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body For NameStore NameLoad body If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return GeneratorExp Call AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Str Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad If CompareEq Call NameLoad NameLoad Num body Return Call NameLoad Call NameLoad SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Assign NameStore Lambda arguments args NameParam defaults Call NameLoad Call NameLoad GeneratorExp Call NameLoad Call NameLoad NameLoad comprehension NameStore NameLoad Return Call NameLoad Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Lambda arguments args NameParam defaults UnaryOpNot Call NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call NameLoad NameLoad Return Call NameLoad Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call NameLoad NameLoad Return Call NameLoad Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call NameLoad NameLoad Return Call NameLoad Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad NameLoad body TryExcept body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad handlers ExceptHandler type NameLoad body Return Call NameLoad Return Call NameLoad Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Str Assign NameStore ListComp Call NameLoad NameLoad comprehension NameStore BinOpAdd TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr If UnaryOpNot Call NameLoad GeneratorExp CompareEq Call NameLoad NameLoad NameLoad comprehension NameStore NameLoad body Raise Call NameLoad Str Return Call NameLoad Call NameLoad AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call NameLoad Call NameLoad Call NameLoad Call NameLoad NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body For NameStore AttributeLoad NameLoad attr body Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults UnaryOpNot Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list Assign NameStore NameLoad decorator_list ClassDef bases NameLoad NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Raise Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad NameLoad body Return Call NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Return Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad Num decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad Dict NameLoad NameLoad kwarg body Pass decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad Dict NameLoad NameLoad kwarg body Pass decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list NameLoad FunctionDef arguments args NameParam defaults vararg kwarg body Pass decorator_list NameLoad FunctionDef arguments args NameParam defaults vararg kwarg body Pass decorator_list NameLoad FunctionDef arguments args NameParam defaults vararg kwarg body Pass decorator_list NameLoad FunctionDef arguments args NameParam defaults vararg kwarg body Pass decorator_list NameLoad FunctionDef arguments args NameParam defaults vararg kwarg body Pass decorator_list NameLoad FunctionDef arguments args NameParam defaults vararg kwarg body Pass decorator_list NameLoad FunctionDef arguments args NameParam defaults body Pass decorator_list NameLoad FunctionDef arguments args NameParam defaults body For NameStore AttributeLoad NameLoad attr body Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list Call AttributeLoad NameLoad attr NameLoad ClassDef bases NameLoad NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults vararg kwarg body If Call NameLoad NameLoad NameLoad body Return Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Return IfExp CompareIs NameLoad NameLoad Call NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Return Call NameLoad Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list NameLoad FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list Assign NameStore NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad Dict decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad ListLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad ListLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad ListLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Return Call NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Return Call NameLoad ListLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call NameLoad ListLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases NameLoad NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad decorator_list Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad Lambda arguments args NameParam defaults Call NameLoad Assign NameStore Call NameLoad Lambda arguments args NameParam defaults Call NameLoad Assign NameStore Call NameLoad Lambda arguments args NameParam defaults Call NameLoad FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Return Call NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Return Call NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Return Call NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Return Call NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Return Call NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Return Call NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Return Call NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Return Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Return Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Str decorator_list FunctionDef arguments args NameParam defaults body Return Num decorator_list decorator_list FunctionDef arguments args defaults vararg body Expr Str FunctionDef arguments args NameParam defaults body For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Return NameLoad Return Call NameLoad decorator_list Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam NameParam defaults body TryExcept body Return Call NameLoad NameLoad NameLoad handlers ExceptHandler body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr If Call NameLoad NameLoad Str body Assign TupleStore NameStore NameStore NameStore NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad NameLoad NameLoad NameLoad NameLoad Raise If Call NameLoad NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore Call NameLoad NameLoad If CompareGt Call NameLoad NameLoad Num body Assign NameStore BinOpMod Str AttributeLoad Call NameLoad NameLoad attr Assign NameStore Call AttributeLoad Str attr NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list Call NameLoad NameLoad Return NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Return Str decorator_list FunctionDef arguments args NameParam defaults body Return SubscriptLoad Call NameLoad Call NameLoad NameLoad Slice Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad BinOpAdd Call NameLoad Call NameLoad NameLoad Call NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Return Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr If Call NameLoad NameLoad NameLoad body Return NameLoad Return Call NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list decorator_list AttributeLoad NameLoad attr ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call NameLoad NameLoad AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str Call NameLoad AttributeLoad NameLoad attr Return BinOpMod Str Call AttributeLoad Str attr NameLoad decorator_list decorator_list AttributeLoad NameLoad attr ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body 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 NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr If Call NameLoad NameLoad NameLoad body Assign NameStore BinOpMod Str Call NameLoad NameLoad If Call NameLoad NameLoad NameLoad body Assign NameStore BinOpMod Str Call NameLoad NameLoad Return BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr NameLoad decorator_list decorator_list AttributeLoad NameLoad attr ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return BinOpMod Str AttributeLoad NameLoad attr decorator_list decorator_list AttributeLoad NameLoad attr ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return BinOpMod Str Call NameLoad AttributeLoad NameLoad attr decorator_list decorator_list AttributeLoad NameLoad attr ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body For NameStore AttributeLoad NameLoad attr body Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body For NameStore AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Str attr Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body If CompareIs NameLoad NameLoad body Assign NameStore NameLoad Return Call NameLoad NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body If Call NameLoad NameLoad NameLoad body Return Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Return SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Num handlers ExceptHandler type NameLoad body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str If Call NameLoad NameLoad AttributeLoad NameLoad attr body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore BinOpMod Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Str Return NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults vararg kwarg body If UnaryOpNot Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list decorator_list Assign NameStore Call NameLoad
N/A __future__ print_function division unicode_literals abc ABCMeta abstractproperty abstractmethod collections namedtuple distutils.version LooseVersion functools wraps itertools takewhile dropwhile N/A operator N/A re N/A sys N/A N/A bs4 BeautifulSoup PageElement NavigableString N/A N/A N/A ImportError N/A N/A N/A ImportError Soupy requires beautifulsoup4 N/A N/A N/A six six.moves map N/A N/A N/A LooseVersion N/A six __version__ N/A LooseVersion 1.9 N/A N/A N/A N/A ImportError AssertionError N/A N/A N/A ImportError Soupy requires six version 1.9 or later N/A __version__ 0.4.dev N/A __all__ N/A Soupy Q Node Scalar Collection Null NullNode NullCollection either NullValueError QDebug N/A QUOTED_STR N/A N/A re compile ^[ub]?['"](.*?)['"]$ N/A QDebug N/A namedtuple QDebug N/A expr inner_expr val inner_val N/A Namedtuple that holds information about a failed expression evaluation. Wrapper N/A object N/A val N/A N/A self N/A N/A N/A N/A abstractmethod orelse N/A N/A self value N/A N/A N/A N/A abstractmethod nonnull N/A N/A self N/A N/A N/A 
        Require that a node is not null

        Null values will raise NullValueError, whereas nonnull
        values return self.

        useful for being strict about portions of queries.


        Examples:

           node.find('a').nonnull().find('b').orelse(3)

           This will raise an error if find('a') doesn't match,
           but provides a fallback if find('b') doesn't match.

         N/A self N/A isnull N/A N/A self N/A N/A N/A N/A abstractmethod map N/A N/A self func N/A N/A N/A N/A abstractmethod apply N/A N/A self func N/A N/A N/A N/A abstractmethod wrap N/A N/A cls value N/A N/A N/A 
        Wrap value in the appropriate wrapper class,
        based upon its type.
         N/A N/A isinstance value Wrapper N/A N/A value N/A N/A hasattr value children N/A N/A N/A Node value N/A N/A Scalar value N/A classmethod __getitem__ N/A N/A self key N/A N/A N/A N/A N/A self map N/A N/A operator itemgetter key N/A dump N/A N/A self N/A args kwargs N/A N/A 
        Extract derived values into a Scalar(tuple) or Scalar(dict)

        The keyword names passed to this function become keys in
        the resulting dictionary, while positional arguments passed to
        this function become elements in the resulting tuple.

        The positional arguments and keyword values are functions that
        are called on this Node.

        Notes:

            - The input functions are called on the Node, **not** the
              underlying BeautifulSoup element
            - If the function returns a wrapper, it will be unwrapped
            - Only either positional arguments or keyword arguments may
              be passed, not both.

        Example:

            >>> soup = Soupy("<b>hi</b>").find('b')
            >>> data = soup.dump(name=Q.name, text=Q.text).val()
            >>> data == {'text': 'hi', 'name': 'b'}
            True

            >> name, text = soup.dump(Q.name, Q.text).val()
            >> (name, text) == ('hi', 'b')
            True
         N/A N/A args kwargs N/A N/A N/A ValueError Cannot pass both arguments and keywords to dump N/A args N/A N/A result N/A tuple N/A N/A _unwrap N/A N/A self apply func N/A func args N/A N/A result N/A dict N/A N/A name N/A _unwrap N/A N/A self apply func N/A N/A name func N/A N/A kwargs items N/A N/A N/A Wrapper wrap result N/A require N/A N/A self func msg N/A Requirement Violated N/A N/A N/A abstractmethod N/A N/A N/A six add_metaclass ABCMeta NullValueError N/A ValueError N/A N/A 
    The NullValueError exception is raised when attempting
    to extract values from Null objects
     N/A N/A QKeyError N/A KeyError N/A N/A 
    A custom KeyError subclass that better formats
    exception messages raised inside expressions
     __str__ N/A N/A self N/A N/A N/A parts N/A N/A N/A N/A self args N/A 0 split N/A N/A N/A N/A parts N/A 0 N/A _dequote N/A repr N/A parts N/A 1 N/A N/A N/A N/A QKeyError __name__ N/A str KeyError BaseNull N/A Wrapper N/A N/A 
    This is the base class for null wrappers. Null values are returned
    when the result of a function is ill-defined.
     val N/A N/A self N/A N/A N/A 
        Raise :class:`NullValueError`
         N/A N/A NullValueError N/A orelse N/A N/A self value N/A N/A N/A 
        Wraps value and returns the result
         N/A N/A N/A Wrapper wrap value N/A map N/A N/A self func N/A N/A N/A 
        Returns :class:`Null`
         N/A self N/A apply N/A N/A self func N/A N/A N/A 
        Returns :class:`Null`
         N/A self N/A nonnull N/A N/A self N/A N/A N/A 
        Raises :class:`NullValueError`
         N/A N/A NullValueError N/A require N/A N/A self func msg N/A Requirement is violated (wrapper is null) N/A N/A 
        Raises :class:`NullValueError`
         N/A N/A NullValueError N/A isnull N/A N/A self N/A N/A N/A 
        Return Scalar(True) if this item is a null value
         N/A N/A Scalar True N/A __setitem__ N/A N/A self key val N/A N/A N/A N/A __bool__ N/A N/A self N/A N/A N/A False N/A N/A __nonzero__ __bool__ __str__ N/A N/A self N/A N/A N/A N/A %s() N/A N/A type self __name__ N/A N/A __repr__ __str__ __hash__ N/A N/A self N/A N/A N/A N/A hash N/A type self N/A __eq__ N/A N/A self other N/A N/A N/A N/A N/A type self N/A __ne__ N/A N/A self other N/A N/A N/A N/A N/A type self N/A N/A N/A six python_2_unicode_compatible Some N/A Wrapper N/A __init__ N/A N/A self value N/A N/A N/A N/A self _value value N/A map N/A N/A self func N/A N/A N/A 
        Call a function on a wrapper's value, and wrap the result if necessary.

        Parameters:

            func : function(val) -> val

        Examples:

            >>> s = Scalar(3)
            >>> s.map(Q * 2)
            Scalar(6)
         N/A N/A N/A Wrapper wrap N/A N/A _make_callable func N/A self _value N/A apply N/A N/A self func N/A N/A N/A 
        Call a function on a wrapper, and wrap the result if necessary.


        Parameters:

            func: function(wrapper) -> val

        Examples:

            >>> s = Scalar(5)
            >>> s.apply(lambda val: isinstance(val, Scalar))
            Scalar(True)
         N/A N/A N/A Wrapper wrap N/A N/A _make_callable func self N/A orelse N/A N/A self value N/A N/A N/A 
        Provide a fallback value for failed matches.

        Examples:

            >>> Scalar(5).orelse(10).val()
            5
            >>> Null().orelse(10).val()
            10
         N/A self N/A val N/A N/A self N/A N/A N/A 
        Return the value inside a wrapper.

        Raises :class:`NullValueError` if called on a Null object
         N/A N/A self _value N/A require N/A N/A self func msg N/A Requirement violated N/A N/A 
        Assert that self.apply(func) is True.

        Parameters:

            func : func(wrapper)
            msg : str
               The error message to display on failure

        Returns:

            If self.apply(func) is True, returns self.
            Otherwise, raises NullValueError.
         N/A N/A N/A self apply func N/A N/A self N/A N/A NullValueError msg N/A isnull N/A N/A self N/A N/A N/A 
        Return Scalar(True) if this item is a null value
         N/A N/A Scalar False N/A __str__ N/A N/A self N/A N/A N/A N/A %s(%s) N/A N/A N/A type self __name__ N/A _repr N/A self _value N/A __repr__ N/A N/A self N/A N/A N/A N/A N/A repr N/A N/A self __str__ N/A 1 -1 N/A __setitem__ N/A N/A self key val N/A N/A N/A N/A N/A self map N/A N/A Q __setitem__ key val N/A __hash__ N/A N/A self N/A N/A N/A N/A hash N/A self _value N/A __eq__ N/A N/A self other N/A N/A N/A N/A N/A self map N/A N/A N/A x N/A N/A x other N/A __ne__ N/A N/A self other N/A N/A N/A N/A N/A self map N/A N/A N/A x N/A N/A x other N/A N/A N/A six python_2_unicode_compatible Null N/A BaseNull N/A N/A 
    The class for ill-defined Scalars.
     __getattr__ N/A N/A self attr N/A N/A N/A N/A Null N/A __call__ N/A N/A self N/A args kwargs N/A N/A N/A Null N/A __gt__ N/A N/A self other N/A N/A N/A N/A Null N/A __ge__ N/A N/A self other N/A N/A N/A N/A Null N/A __lt__ N/A N/A self other N/A N/A N/A N/A Null N/A __le__ N/A N/A self other N/A N/A N/A N/A Null N/A __len__ N/A N/A self N/A N/A N/A N/A TypeError Null has no len() N/A __add__ N/A N/A self other N/A N/A N/A N/A Null N/A __sub__ N/A N/A self other N/A N/A N/A N/A Null N/A __mul__ N/A N/A self other N/A N/A N/A N/A Null N/A __div__ N/A N/A self other N/A N/A N/A N/A Null N/A __floordiv__ N/A N/A self other N/A N/A N/A N/A Null N/A __pow__ N/A N/A self other N/A N/A N/A N/A Null N/A __mod__ N/A N/A self other N/A N/A N/A N/A Null N/A __truediv__ N/A N/A self other N/A N/A N/A N/A Null N/A __hash__ N/A N/A self N/A N/A N/A N/A N/A N/A super Null self __hash__ N/A N/A Scalar N/A Some N/A N/A 
    A wrapper around single values.

    Scalars support boolean testing (<, ==, etc), and
    use the wrapped value in the comparison. They return
    the result as a Scalar(bool).

    Calling a Scalar calls the wrapped value, and wraps
    the result.

    Examples:

        >>> s = Scalar(3)
        >>> s > 2
        Scalar(True)
        >>> s.val()
        3
        >>> s + 5
        Scalar(8)
        >>> s + s
        Scalar(6)
        >>> bool(Scalar(3))
        True
        >>> Scalar(lambda x: x+2)(5)
        Scalar(7)

     __getattr__ N/A N/A self attr N/A N/A N/A N/A N/A self map N/A N/A operator attrgetter attr N/A __call__ N/A N/A self N/A args kwargs N/A N/A N/A N/A self map N/A N/A operator methodcaller __call__ args kwargs N/A __gt__ N/A N/A self other N/A N/A N/A N/A N/A self map N/A N/A N/A x N/A N/A x other N/A __ge__ N/A N/A self other N/A N/A N/A N/A N/A self map N/A N/A N/A x N/A N/A x other N/A __lt__ N/A N/A self other N/A N/A N/A N/A N/A self map N/A N/A N/A x N/A N/A x other N/A __le__ N/A N/A self other N/A N/A N/A N/A N/A self map N/A N/A N/A x N/A N/A x other N/A __bool__ N/A N/A self N/A N/A N/A N/A bool N/A self _value N/A N/A __nonzero__ __bool__ __len__ N/A N/A self N/A N/A N/A N/A len N/A self _value N/A __add__ N/A N/A self other N/A N/A N/A N/A isinstance other BaseNull N/A N/A other N/A N/A N/A self map N/A Q N/A _unwrap other N/A __sub__ N/A N/A self other N/A N/A N/A N/A isinstance other BaseNull N/A N/A other N/A N/A N/A self map N/A Q N/A _unwrap other N/A __mul__ N/A N/A self other N/A N/A N/A N/A isinstance other BaseNull N/A N/A other N/A N/A N/A self map N/A Q N/A _unwrap other N/A __div__ N/A N/A self other N/A N/A N/A N/A isinstance other BaseNull N/A N/A other N/A N/A N/A self map N/A Q N/A _unwrap other N/A __floordiv__ N/A N/A self other N/A N/A N/A N/A isinstance other BaseNull N/A N/A other N/A N/A N/A self map N/A Q N/A _unwrap other N/A __pow__ N/A N/A self other N/A N/A N/A N/A isinstance other BaseNull N/A N/A other N/A N/A N/A self map N/A Q N/A _unwrap other N/A __mod__ N/A N/A self other N/A N/A N/A N/A isinstance other BaseNull N/A N/A other N/A N/A N/A self map N/A Q N/A _unwrap other N/A __truediv__ N/A N/A self other N/A N/A N/A N/A isinstance other BaseNull N/A N/A other N/A N/A N/A self map N/A Q N/A _unwrap other N/A N/A Collection N/A Some N/A N/A 
    Collection's store lists of other wrappers.

    They support most of the list methods (len, iter, getitem, etc).
     __init__ N/A N/A self items N/A N/A N/A N/A N/A N/A super Collection self __init__ N/A list items N/A N/A self _items N/A self _value N/A N/A N/A self _assert_items_are_wrappers N/A _assert_items_are_wrappers N/A N/A self N/A N/A N/A item self N/A N/A N/A N/A isinstance item Wrapper N/A N/A N/A TypeError Collection can only hold other wrappers N/A val N/A N/A self N/A N/A N/A 
        Unwraps each item in the collection, and returns as a list
         N/A N/A list N/A N/A self iter_val N/A first N/A N/A self N/A N/A N/A 
        Return the first element of the collection, or :class:`Null`
         N/A N/A self N/A 0 N/A iter_val N/A N/A self N/A N/A N/A 
        An iterator version of :meth:`val`
         N/A N/A N/A N/A item val N/A item N/A self _items N/A each N/A N/A self N/A funcs N/A N/A 
        Call `func` on each element in the collection.

        If multiple functions are provided, each item
        in the output will be a tuple of each
        func(item) in self.

        Returns a new Collection.

        Example:

            >>> col = Collection([Scalar(1), Scalar(2)])
            >>> col.each(Q * 10)
            Collection([Scalar(10), Scalar(20)])
            >>> col.each(Q * 10, Q - 1)
            Collection([Scalar((10, 0)), Scalar((20, 1))])
         N/A funcs N/A list N/A map _make_callable funcs N/A N/A N/A len funcs 1 N/A N/A N/A Collection N/A map N/A funcs N/A 0 N/A self _items N/A tupler N/A N/A N/A item N/A N/A Scalar N/A tuple N/A N/A _unwrap N/A func item N/A func funcs N/A N/A Collection N/A map tupler N/A self _items N/A exclude N/A N/A self func N/A None N/A N/A 
        Return a new Collection excluding some items

        Parameters:

            func : function(Node) -> Scalar

                A function that, when called on each item
                in the collection, returns a boolean-like
                value. If no function is provided, then
                truthy items will be removed.

        Returns:

            A new Collection consisting of the items
            where bool(func(item)) == False
         N/A func N/A _make_callable func N/A inverse N/A N/A N/A x N/A N/A N/A func x N/A N/A N/A self filter inverse N/A filter N/A N/A self func N/A None N/A N/A 
        Return a new Collection with some items removed.

        Parameters:

            func : function(Node) -> Scalar

                A function that, when called on each item
                in the collection, returns a boolean-like
                value. If no function is provided, then
                false-y items will be removed.

        Returns:

            A new Collection consisting of the items
            where bool(func(item)) == True

        Examples:

            node.find_all('a').filter(Q['href'].startswith('http'))
         N/A func N/A _make_callable func N/A N/A Collection N/A filter func N/A self _items N/A takewhile N/A N/A self func N/A None N/A N/A 
        Return a new Collection with the last few items removed.

        Parameters:

            func : function(Node) -> Node

        Returns:

            A new Collection, discarding all items
            at and after the first item where bool(func(item)) == False

        Examples:

            node.find_all('tr').takewhile(Q.find_all('td').count() > 3)

         N/A func N/A _make_callable func N/A N/A Collection N/A takewhile func N/A self _items N/A dropwhile N/A N/A self func N/A None N/A N/A 
        Return a new Collection with the first few items removed.

        Parameters:

            func : function(Node) -> Node

        Returns:

            A new Collection, discarding all items
            before the first item where bool(func(item)) == True
         N/A func N/A _make_callable func N/A N/A Collection N/A dropwhile func N/A self _items N/A __getitem__ N/A N/A self key N/A N/A N/A N/A isinstance key int N/A N/A N/A N/A N/A N/A self _items N/A key N/A N/A N/A IndexError N/A N/A N/A NullNode N/A N/A Collection N/A N/A N/A list N/A self _items __getitem__ key N/A dump N/A N/A self N/A args kwargs N/A N/A 
        Build a list of dicts, by calling :meth:`Node.dump`
        on each item.

        Each keyword provides a function that extracts a value
        from a Node.

        Examples:

            >>> c = Collection([Scalar(1), Scalar(2)])
            >>> c.dump(x2=Q*2, m1=Q-1).val()
            [{'x2': 2, 'm1': 0}, {'x2': 4, 'm1': 1}]
         N/A N/A N/A self each N/A N/A Q dump args kwargs N/A __len__ N/A N/A self N/A N/A N/A N/A N/A N/A N/A self map len val N/A count N/A N/A self N/A N/A N/A 
        Return the number of items in the collection, as a :class:`Scalar`
         N/A N/A Scalar N/A len self N/A zip N/A N/A self N/A others N/A N/A 
        Zip the items of this collection with one or more
        other sequences, and wrap the result.

        Unlike Python's zip, all sequences must be the same length.

        Parameters:

            others: One or more iterables or Collections

        Returns:

            A new collection.

        Examples:

            >>> c1 = Collection([Scalar(1), Scalar(2)])
            >>> c2 = Collection([Scalar(3), Scalar(4)])
            >>> c1.zip(c2).val()
            [(1, 3), (2, 4)]
         N/A args N/A N/A _unwrap item N/A item N/A N/A self others N/A ct N/A N/A self count N/A N/A N/A all N/A N/A N/A len arg ct N/A arg args N/A N/A N/A ValueError Arguments are not all the same length N/A N/A Collection N/A map N/A Wrapper wrap N/A zip args N/A dictzip N/A N/A self keys N/A N/A N/A 
        Turn this collection into a Scalar(dict), by zipping keys and items.

        Parameters:

            keys: list or Collection of NavigableStrings
                The keys of the dictionary

        Examples:

            >>> c = Collection([Scalar(1), Scalar(2)])
            >>> c.dictzip(['a', 'b']).val() == {'a': 1, 'b': 2}
            True
         N/A N/A Scalar N/A dict N/A zip N/A _unwrap keys N/A N/A self val N/A __iter__ N/A N/A self N/A N/A N/A item N/A self _items N/A N/A N/A item N/A all N/A N/A self N/A N/A N/A 
        Scalar(True) if all items are truthy, or collection is empty.
         N/A N/A N/A self map all N/A any N/A N/A self N/A N/A N/A 
        Scalar(True) if any items are truthy. False if empty.
         N/A N/A N/A self map any N/A none N/A N/A self N/A N/A N/A 
        Scalar(True) if no items are truthy, or collection is empty.
         N/A N/A N/A self map N/A N/A N/A items N/A N/A N/A any items N/A __bool__ N/A N/A self N/A N/A N/A N/A bool N/A self _items N/A N/A __nonzero__ __bool__ N/A NullCollection N/A BaseNull Collection N/A N/A 
    Represents in invalid Collection.

    Returned by some methods on other Null objects.
     __init__ N/A N/A self N/A N/A N/A N/A iter_val N/A N/A self N/A N/A N/A N/A NullValueError N/A each N/A N/A self func N/A N/A N/A self N/A filter N/A N/A self func N/A None N/A N/A self N/A takewhile N/A N/A self func N/A None N/A N/A self N/A dropwhile N/A N/A self func N/A None N/A N/A self N/A first N/A N/A self N/A N/A N/A N/A NullNode N/A __getitem__ N/A N/A self key N/A N/A N/A N/A isinstance key int N/A N/A N/A NullNode N/A self N/A dump N/A N/A self N/A args kwargs N/A N/A N/A NullCollection N/A count N/A N/A self N/A N/A N/A N/A Scalar 0 N/A N/A NodeLike N/A object N/A N/A parent N/A abstractproperty N/A next_sibling N/A abstractproperty N/A previous_sibling N/A abstractproperty N/A text N/A abstractproperty N/A attrs N/A abstractproperty N/A name N/A abstractproperty N/A children N/A abstractproperty N/A contents N/A abstractproperty N/A descendants N/A abstractproperty N/A parents N/A abstractproperty N/A next_siblings N/A abstractproperty N/A previous_siblings N/A abstractproperty find N/A N/A self name attrs recursive text N/A None N/A True None kwargs N/A N/A N/A abstractmethod find_all N/A N/A self name attrs recursive text N/A None N/A True None kwargs N/A N/A N/A abstractmethod select N/A N/A self selector N/A N/A N/A N/A abstractmethod find_next_sibling N/A N/A self N/A args kwargs N/A N/A N/A abstractmethod find_previous_sibling N/A N/A self N/A args kwargs N/A N/A N/A abstractmethod find_parent N/A N/A self N/A args kwargs N/A N/A N/A abstractmethod find_next_siblings N/A N/A self N/A args kwargs N/A N/A N/A abstractmethod find_previous_siblings N/A N/A self N/A args kwargs N/A N/A N/A abstractmethod find_parents N/A N/A self N/A args kwargs N/A N/A N/A abstractmethod prettify N/A N/A self N/A N/A N/A N/A abstractmethod __iter__ N/A N/A self N/A N/A N/A item N/A self children N/A N/A N/A item N/A __call__ N/A N/A self N/A args kwargs N/A N/A N/A N/A self find_all args kwargs N/A N/A N/A N/A six add_metaclass ABCMeta Node N/A NodeLike Some N/A N/A 
    The Node class is the main wrapper around
    BeautifulSoup elements like Tag. It implements many of the
    same properties and methods as BeautifulSoup for navigating
    through documents, like find, select, parents, etc.
     __new__ N/A N/A cls value N/A args kwargs N/A N/A N/A isinstance value NavigableString N/A N/A N/A N/A object __new__ NavigableStringNode N/A N/A N/A object __new__ cls N/A _wrap_node N/A N/A self func N/A N/A N/A val N/A func N/A self _value N/A N/A N/A val None N/A NullNode N/A Node val N/A _wrap_multi N/A N/A self func N/A N/A N/A vals N/A func N/A self _value N/A N/A Collection N/A map Node vals N/A _wrap_scalar N/A N/A self func N/A N/A N/A val N/A func N/A self _value N/A N/A Scalar val N/A children N/A N/A self N/A N/A N/A 
        A :class:`Collection` of the child elements.
         N/A N/A N/A self _wrap_multi N/A N/A operator attrgetter children N/A property parents N/A N/A self N/A N/A N/A 
        A :class:`Collection` of the parents elements.
         N/A N/A N/A self _wrap_multi N/A N/A operator attrgetter parents N/A property contents N/A N/A self N/A N/A N/A 
        A :class:`Collection` of the child elements.
         N/A N/A N/A self _wrap_multi N/A N/A operator attrgetter contents N/A property descendants N/A N/A self N/A N/A N/A 
        A :class:`Collection` of all elements nested inside this Node.
         N/A N/A N/A self _wrap_multi N/A N/A operator attrgetter descendants N/A property next_siblings N/A N/A self N/A N/A N/A 
        A :class:`Collection` of all siblings after this node
         N/A N/A N/A self _wrap_multi N/A N/A operator attrgetter next_siblings N/A property previous_siblings N/A N/A self N/A N/A N/A 
        A :class:`Collection` of all siblings before this node
         N/A N/A N/A self _wrap_multi N/A N/A operator attrgetter previous_siblings N/A property parent N/A N/A self N/A N/A N/A 
        The parent :class:`Node`, or :class:`NullNode`
         N/A N/A N/A self _wrap_node N/A N/A operator attrgetter parent N/A property next_sibling N/A N/A self N/A N/A N/A 
        The :class:`Node` sibling after this, or :class:`NullNode`
         N/A N/A N/A self _wrap_node N/A N/A operator attrgetter next_sibling N/A property previous_sibling N/A N/A self N/A N/A N/A 
        The :class:`Node` sibling prior to this, or :class:`NullNode`
         N/A N/A N/A self _wrap_node N/A N/A operator attrgetter previous_sibling N/A property attrs N/A N/A self N/A N/A N/A 
        A :class:`Scalar` of this Node's attribute dictionary

        Example:

            >>> Soupy("<a val=3></a>").find('a').attrs
            Scalar({u'val': u'3'})
         N/A N/A N/A self _wrap_scalar N/A N/A operator attrgetter attrs N/A property text N/A N/A self N/A N/A N/A 
        A :class:`Scalar` of this Node's text.

        Example:

            >>> node = Soupy('<p>hi there</p>').find('p')
            >>> node
            Node(<p>hi there</p>)
            >>> node.text
            Scalar(u'hi there')

         N/A N/A N/A self _wrap_scalar N/A N/A operator attrgetter text N/A property name N/A N/A self N/A N/A N/A 
        A :class:`Scalar` of this Node's tag name.

        Example:

            >>> node = Soupy('<p>hi there</p>').find('p')
            >>> node
            Node(<p>hi there</p>)
            >>> node.name
            Scalar(u'p')
         N/A N/A N/A self _wrap_scalar N/A N/A operator attrgetter name N/A property find N/A N/A self N/A args kwargs N/A N/A 
        Find a single Node among this Node's descendants.

        Returns :class:`NullNode` if nothing matches.

        This inputs to this function follow the same semantics
        as BeautifulSoup. See http://bit.ly/bs4doc for more info.

        Examples:

         - node.find('a')  # look for `a` tags
         - node.find('a', 'foo') # look for `a` tags with class=`foo`
         - node.find(func) # find tag where func(tag) is True
         - node.find(val=3)  # look for tag like <a, val=3>
         N/A op N/A N/A operator methodcaller find args kwargs N/A N/A N/A self _wrap_node op N/A find_next_sibling N/A N/A self N/A args kwargs N/A N/A 
        Like :meth:`find`, but searches through :attr:`next_siblings`
         N/A op N/A N/A operator methodcaller find_next_sibling args kwargs N/A N/A N/A self _wrap_node op N/A find_parent N/A N/A self N/A args kwargs N/A N/A 
        Like :meth:`find`, but searches through :attr:`parents`
         N/A op N/A N/A operator methodcaller find_parent args kwargs N/A N/A N/A self _wrap_node op N/A find_previous_sibling N/A N/A self N/A args kwargs N/A N/A 
        Like :meth:`find`, but searches through :attr:`previous_siblings`
         N/A op N/A N/A operator methodcaller find_previous_sibling args kwargs N/A N/A N/A self _wrap_node op N/A find_all N/A N/A self N/A args kwargs N/A N/A 
        Like :meth:`find`, but selects all matches (not just the first one).

        Returns a :class:`Collection`.

        If no elements match, this returns a Collection with no items.
         N/A op N/A N/A operator methodcaller find_all args kwargs N/A N/A N/A self _wrap_multi op N/A find_next_siblings N/A N/A self N/A args kwargs N/A N/A 
        Like :meth:`find_all`, but searches through :attr:`next_siblings`
         N/A op N/A N/A operator methodcaller find_next_siblings args kwargs N/A N/A N/A self _wrap_multi op N/A find_parents N/A N/A self N/A args kwargs N/A N/A 
        Like :meth:`find_all`, but searches through :attr:`parents`
         N/A op N/A N/A operator methodcaller find_parents args kwargs N/A N/A N/A self _wrap_multi op N/A find_previous_siblings N/A N/A self N/A args kwargs N/A N/A 
        Like :meth:`find_all`, but searches through :attr:`previous_siblings`
         N/A op N/A N/A operator methodcaller find_previous_siblings args kwargs N/A N/A N/A self _wrap_multi op N/A select N/A N/A self selector N/A N/A N/A 
        Like :meth:`find_all`, but takes a CSS selector string as input.
         N/A op N/A N/A operator methodcaller select selector N/A N/A N/A self _wrap_multi op N/A prettify N/A N/A self N/A N/A N/A N/A N/A N/A N/A self map N/A N/A Q prettify val N/A __len__ N/A N/A self N/A N/A N/A N/A len N/A self _value N/A __bool__ N/A N/A self N/A N/A N/A True N/A N/A __nonzero__ __bool__ N/A NavigableStringNode N/A Node N/A N/A 
    The NavigableStringNode is a special case Node that wraps
    BeautifulSoup NavigableStrings. This class implements sensible
    versions of properties and methods that are missing from
    the NavigableString object.
     attrs N/A N/A self N/A N/A N/A 
        An empty :class:`Scalar` dict
         N/A N/A Scalar N/A N/A property text N/A N/A self N/A N/A N/A 
        A :class:`Scalar` of the string value
         N/A N/A Scalar N/A N/A self _value string N/A property name N/A N/A self N/A N/A N/A 
        An empty :class:`Scalar` dict
         N/A N/A Scalar N/A property children N/A N/A self N/A N/A N/A 
        An empty :class:`Collection`
         N/A N/A Collection N/A N/A property contents N/A N/A self N/A N/A N/A 
        An empty :class:`Collection`
         N/A N/A Collection N/A N/A property descendants N/A N/A self N/A N/A N/A 
        An empty :class:`Collection`
         N/A N/A Collection N/A N/A property find N/A N/A self N/A args kwargs N/A N/A 
        Returns :class:`NullNode`
         N/A N/A NullNode N/A find_all N/A N/A self N/A args kwargs N/A N/A 
        Returns an empty :class:`Collection`
         N/A N/A Collection N/A N/A select N/A N/A self selector N/A N/A N/A 
        Returns an empty :class:`Collection`
         N/A N/A Collection N/A N/A prettify N/A N/A self N/A N/A N/A N/A N/A N/A self text val N/A N/A NullNode N/A NodeLike BaseNull N/A N/A 
    NullNode is returned when a query doesn't match any node
    in the document.
     _get_null N/A N/A self N/A N/A N/A 
        Returns the NullNode
         N/A N/A NullNode N/A _get_null_set N/A N/A self N/A N/A N/A 
        Returns the NullCollection
         N/A N/A NullCollection N/A N/A children N/A property _get_null_set N/A parents N/A property _get_null_set N/A contents N/A property _get_null_set N/A descendants N/A property _get_null_set N/A next_siblings N/A property _get_null_set N/A previous_siblings N/A property _get_null_set N/A parent N/A property _get_null N/A next_sibling N/A property _get_null N/A previous_sibling N/A property _get_null N/A attrs N/A property N/A N/A N/A self N/A N/A Null N/A text N/A property N/A N/A N/A self N/A N/A Null N/A name N/A property N/A N/A N/A self N/A N/A Null find N/A N/A self N/A args kwargs N/A N/A 
        Returns :class:`NullNode`
         N/A N/A NullNode N/A find_parent N/A N/A self N/A args kwargs N/A N/A 
        Returns :class:`NullNode`
         N/A N/A NullNode N/A find_previous_sibling N/A N/A self N/A args kwargs N/A N/A 
        Returns :class:`NullNode`
         N/A N/A NullNode N/A find_next_sibling N/A N/A self N/A args kwargs N/A N/A 
        Returns :class:`NullNode`
         N/A N/A NullNode N/A find_all N/A N/A self N/A args kwargs N/A N/A 
        Returns :class:`NullCollection`
         N/A N/A NullCollection N/A find_parents N/A N/A self N/A args kwargs N/A N/A 
        Returns :class:`NullCollection`
         N/A N/A NullCollection N/A find_next_siblings N/A N/A self N/A args kwargs N/A N/A 
        Returns :class:`NullCollection`
         N/A N/A NullCollection N/A find_previous_siblings N/A N/A self N/A args kwargs N/A N/A 
        Returns :class:`NullCollection`
         N/A N/A NullCollection N/A select N/A N/A self selector N/A N/A N/A 
        Returns :class:`NullCollection`
         N/A N/A NullCollection N/A dump N/A N/A self N/A args kwargs N/A N/A 
        Returns :class:`Null`
         N/A N/A Null N/A prettify N/A N/A self N/A N/A N/A Null Node N/A __len__ N/A N/A self N/A N/A N/A 0 N/A N/A either N/A N/A N/A funcs N/A N/A 
    A utility function for selecting the first non-null query.

    Parameters:

      funcs: One or more functions

    Returns:

       A function that, when called with a :class:`Node`, will
       pass the input to each `func`, and return the first non-Falsey
       result.

    Examples:

       >>> s = Soupy("<p>hi</p>")
       >>> s.apply(either(Q.find('a'), Q.find('p').text))
       Scalar('hi')
     either N/A N/A val N/A N/A N/A func funcs N/A N/A result N/A N/A val apply func N/A result N/A N/A result N/A N/A Null N/A N/A either N/A _helpful_failure N/A N/A method N/A N/A N/A 
    Decorator for eval_ that prints a helpful error message
    if an exception is generated in a Q expression
     wrapper N/A N/A self val N/A N/A N/A N/A N/A N/A method self val N/A N/A N/A N/A N/A exc_cls inst tb N/A N/A sys exc_info N/A N/A hasattr inst _RERAISE N/A N/A N/A _ expr _ inner_val N/A Q __debug_info__ N/A N/A Q __debug_info__ N/A QDebug self expr val inner_val N/A N/A N/A issubclass exc_cls KeyError N/A N/A exc_cls QKeyError N/A prettyval N/A repr val N/A N/A N/A len prettyval 150 N/A N/A prettyval N/A <%s instance> N/A N/A type val __name__ N/A msg N/A N/A {0}

	Encountered when evaluating {1}{2} format inst prettyval self N/A new_exc N/A exc_cls msg N/A N/A new_exc _RERAISE True N/A N/A Q __debug_info__ N/A QDebug self self val val N/A N/A N/A six reraise exc_cls new_exc tb N/A N/A wraps method N/A wrapper N/A Expression N/A object N/A N/A 
    Soupy expressions are a shorthand for building single-argument functions.

    Users should use the ``Q`` object, which is just an instance of Expression.
     __str__ N/A N/A self N/A N/A N/A Q N/A __repr__ N/A N/A self N/A N/A N/A N/A N/A repr N/A str self N/A 1 -1 N/A __iter__ N/A N/A self N/A N/A N/A N/A self N/A _chain N/A N/A self other N/A N/A N/A N/A Chain N/A N/A tuple N/A iter self N/A tuple N/A iter other N/A __getattr__ N/A N/A self key N/A N/A N/A N/A N/A self _chain N/A Attr key N/A __getitem__ N/A N/A self key N/A N/A N/A N/A N/A self _chain N/A GetItem key N/A __call__ N/A N/A self N/A args kwargs N/A N/A N/A N/A self _chain N/A Call args kwargs N/A __gt__ N/A N/A self other N/A N/A N/A N/A BinaryOp N/A operator gt > self other N/A __ge__ N/A N/A self other N/A N/A N/A N/A BinaryOp N/A operator ge >= self other N/A __lt__ N/A N/A self other N/A N/A N/A N/A BinaryOp N/A operator lt < self other N/A __le__ N/A N/A self other N/A N/A N/A N/A BinaryOp N/A operator le <= self other N/A __eq__ N/A N/A self other N/A N/A N/A N/A BinaryOp N/A operator eq == self other N/A __ne__ N/A N/A self other N/A N/A N/A N/A BinaryOp N/A operator ne != self other N/A __add__ N/A N/A self other N/A N/A N/A N/A BinaryOp N/A operator add + self other N/A __sub__ N/A N/A self other N/A N/A N/A N/A BinaryOp N/A operator sub - self other N/A __div__ N/A N/A self other N/A N/A N/A N/A BinaryOp N/A operator __div__ / self other N/A __floordiv__ N/A N/A self other N/A N/A N/A N/A BinaryOp N/A operator floordiv // self other N/A __truediv__ N/A N/A self other N/A N/A N/A N/A BinaryOp N/A operator truediv / self other N/A __mul__ N/A N/A self other N/A N/A N/A N/A BinaryOp N/A operator mul * self other N/A __rmul__ N/A N/A self other N/A N/A N/A N/A BinaryOp N/A operator mul * other self N/A __pow__ N/A N/A self other N/A N/A N/A N/A BinaryOp N/A operator pow ** self other N/A __mod__ N/A N/A self other N/A N/A N/A N/A BinaryOp N/A operator mod % self other N/A eval_ N/A N/A self val N/A N/A N/A 
        Pass the argument ``val`` to the function, and return the result.

        This special method is necessary because the ``__call__`` method
        builds a new function stead of evaluating the current one.
         N/A val N/A _helpful_failure debug_ N/A N/A self N/A N/A N/A 
        Returns debugging information for the previous error raised
        during expression evaluation.

        Returns a QDebug namedtuple with four fields:

          - expr is the last full expression to have raised an exception
          - inner_expr is the specific sub-expression that raised the exception
          - val is the value that expr tried to evaluate.
          - inner_val is the value that inner_expr tried to evaluate

        If no exceptions have been triggered from expression evaluation,
        then each field is None.

        Examples:

            >>> Scalar('test').map(Q.upper().foo)
            Traceback (most recent call last):
            ...
            AttributeError: 'str' object has no attribute 'foo'
            ...
            >>> dbg = Q.debug_()
            >>> dbg.expr
            Q.upper().foo
            >>> dbg.inner_expr
            .foo
            >>> dbg.val
            'test'
            >>> dbg.inner_val
            'TEST'
         N/A result N/A self __debug_info__ N/A N/A isinstance result QDebug N/A N/A result N/A N/A QDebug None None None None N/A N/A N/A six python_2_unicode_compatible Call N/A Expression N/A N/A An expression for calling a function or method __init__ N/A N/A self args kwargs N/A N/A N/A N/A self _args args N/A N/A self _kwargs kwargs N/A eval_ N/A N/A self val N/A N/A N/A N/A N/A val __call__ N/A self _args N/A self _kwargs N/A _helpful_failure __str__ N/A N/A self N/A N/A N/A result N/A list N/A map _uniquote N/A self _args N/A N/A self _kwargs N/A N/A N/A N/A result append N/A **%s N/A _uniquote N/A self _kwargs N/A N/A (%s) N/A N/A ,  join result N/A N/A N/A six python_2_unicode_compatible BinaryOp N/A Expression N/A N/A A binary operation __init__ N/A N/A self op symbol left right N/A N/A N/A N/A self op op N/A N/A self left left N/A N/A self right right N/A N/A self symbol symbol N/A eval_ N/A N/A self val N/A N/A N/A left N/A self left N/A right N/A self right N/A N/A isinstance left Expression N/A N/A left N/A N/A left eval_ val N/A N/A isinstance right Expression N/A N/A right N/A N/A right eval_ val N/A N/A N/A self op left right N/A _helpful_failure __str__ N/A N/A self N/A N/A N/A N/A l r N/A N/A self left N/A self right N/A N/A isinstance l BinaryOp N/A N/A l N/A (%s) N/A str l N/A N/A isinstance r BinaryOp N/A N/A r N/A (%s) N/A str r N/A N/A %s %s %s N/A l N/A self symbol r N/A N/A N/A six python_2_unicode_compatible Attr N/A Expression N/A N/A An expression for fetching an attribute (eg, obj.item) __init__ N/A N/A self attribute_name N/A N/A N/A N/A self _name attribute_name N/A eval_ N/A N/A self val N/A N/A N/A N/A N/A N/A operator attrgetter N/A self _name val N/A _helpful_failure __str__ N/A N/A self N/A N/A N/A N/A .%s N/A self _name N/A N/A N/A six python_2_unicode_compatible GetItem N/A Expression N/A N/A An expression for getting an item (eg, obj['item']) __init__ N/A N/A self key N/A N/A N/A N/A self _name key N/A eval_ N/A N/A self val N/A N/A N/A N/A N/A N/A operator itemgetter N/A self _name val N/A _helpful_failure __str__ N/A N/A self N/A N/A N/A N/A [%s] N/A _uniquote N/A self _name N/A N/A N/A six python_2_unicode_compatible Chain N/A Expression N/A N/A An chain of expressions (eg a.b.c) __init__ N/A N/A self items N/A N/A N/A N/A self _items items N/A __iter__ N/A N/A self N/A N/A N/A item N/A self _items N/A N/A N/A item N/A eval_ N/A N/A self val N/A N/A N/A item N/A self _items N/A N/A val N/A N/A item eval_ val N/A val N/A _helpful_failure __str__ N/A N/A self N/A N/A N/A N/A N/A join N/A map _uniquote N/A self _items N/A N/A N/A six python_2_unicode_compatible _make_callable N/A N/A func N/A N/A N/A N/A func None N/A N/A func Q N/A N/A getattr func eval_ func N/A _unwrap N/A N/A val N/A N/A N/A N/A isinstance val Wrapper N/A N/A N/A N/A val val N/A val N/A _dequote N/A N/A str N/A N/A N/A N/A N/A N/A N/A N/A QUOTED_STR findall str N/A 0 N/A N/A N/A IndexError N/A N/A N/A AssertionError Not a quoted string N/A _uniquote N/A N/A value N/A N/A N/A 
    Convert to unicode, and add quotes if initially a string
     N/A N/A isinstance value N/A six binary_type N/A N/A N/A N/A value N/A N/A value decode utf-8 N/A N/A N/A UnicodeDecodeError N/A N/A value N/A N/A six text_type N/A _dequote N/A repr value N/A result N/A N/A six text_type value N/A N/A isinstance value N/A six text_type N/A N/A result N/A '%s' result N/A result N/A _repr N/A N/A value N/A N/A N/A value N/A repr value N/A N/A isinstance value N/A six binary_type N/A N/A value N/A N/A value decode utf-8 N/A value N/A Soupy N/A Node N/A __init__ N/A N/A self val N/A args kwargs N/A N/A N/A N/A isinstance val PageElement N/A N/A val N/A BeautifulSoup val args kwargs N/A N/A N/A N/A super Soupy self __init__ val N/A N/A N/A Q N/A Expression