Module Import alias Import alias Import alias Import alias Assign NameStore TupleLoad Str Str Str Str Assign NameStore TupleLoad Str Str Str Str Str Str Str Str Str Str Str Str Str Assign NameStore Call NameLoad GeneratorExp Call AttributeLoad Str attr NameLoad comprehension NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad Call NameLoad NameLoad Call NameLoad Num Assign NameStore Call NameLoad Call NameLoad NameLoad Call NameLoad Num Assign NameStore Call NameLoad Call NameLoad NameLoad Call NameLoad Num FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad If CompareNotEq NameLoad NameLoad body Return Call NameLoad NameLoad NameLoad Return Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam defaults body Return SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam defaults body Return SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam defaults body Return SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpLShift Num Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore BinOpBitOr BinOpLShift NameLoad Num NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpSub Call NameLoad SubscriptLoad NameLoad Index Num Num For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad If CompareNotEq NameLoad BinOpAdd NameLoad Num body If UnaryOpNot BoolOpAnd CompareEq NameLoad Num CompareEq NameLoad Num body Return NameLoad Assign NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num Return Call NameLoad GeneratorExp CompareEq Call NameLoad NameLoad NameLoad comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num Return Call NameLoad GeneratorExp CompareEq Call NameLoad NameLoad NameLoad comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body For NameStore NameLoad body Assign TupleStore NameStore NameStore TupleLoad SubscriptLoad NameLoad Slice NameLoad SubscriptLoad NameLoad Slice NameLoad If BoolOpAnd Call NameLoad NameLoad Call NameLoad NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad TupleLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad TupleLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Return BoolOpOr Call NameLoad NameLoad Call NameLoad NameLoad Call NameLoad NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BoolOpAnd Call NameLoad NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad BinOpAdd Call AttributeLoad NameLoad attr NameLoad Num Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore BoolOpOr NameLoad Call NameLoad NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If CompareEq NameLoad Num body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore Num Assign NameStore BoolOpOr NameLoad Call NameLoad NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If CompareEq NameLoad Num body AugAssignAdd NameStore Num Return CompareEq NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore BoolOpOr NameLoad Call NameLoad NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If CompareEq NameLoad Num body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListComp TupleLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore ListComp SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num If BoolOpAnd CompareEq NameLoad Num CompareEq NameLoad Num body Return Num Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad If NameLoad body Assign NameStore ListLoad Call NameLoad NameLoad If BoolOpAnd NameLoad NameLoad body Assign NameStore Num orelse If Call NameLoad NameLoad body Assign NameStore Num orelse If Call NameLoad NameLoad body Assign NameStore Num orelse If NameLoad body Assign NameStore Num orelse If NameLoad body Assign NameStore Num orelse If Call NameLoad NameLoad NameLoad body Assign NameStore Num orelse If Call NameLoad NameLoad NameLoad body Assign NameStore Num orelse If Call NameLoad NameLoad NameLoad body Assign NameStore Num orelse Assign NameStore Num Expr Call AttributeLoad NameLoad attr Num NameLoad Return Call NameLoad NameLoad decorator_list
N/A N/A itertools N/A random N/A pickle N/A time N/A SUITS N/A c d h s N/A RANKS N/A 2 3 4 5 6 7 8 9 T J Q K A N/A DECK N/A tuple N/A N/A N/A join card N/A card N/A N/A itertools product RANKS SUITS N/A ORDER_LOOKUP N/A dict N/A zip DECK N/A range 52 N/A RANK_LOOKUP N/A dict N/A zip RANKS N/A range 13 N/A SUIT_LOOKUP N/A dict N/A zip SUITS N/A range 4 cmp_cards N/A N/A a b N/A N/A N/A N/A cmp N/A ORDER_LOOKUP N/A a N/A ORDER_LOOKUP N/A b N/A cmp_tuples N/A N/A a b N/A N/A N/A n1 N/A len a N/A n2 N/A len b N/A N/A n1 n2 N/A N/A N/A cmp n1 n2 N/A N/A cmp a b N/A suit N/A N/A card N/A N/A N/A N/A card N/A 1 N/A suit_int N/A N/A card N/A N/A N/A N/A SUIT_LOOKUP N/A N/A card N/A 1 N/A rank N/A N/A card N/A N/A N/A N/A card N/A 0 N/A rank_int N/A N/A card N/A N/A N/A N/A RANK_LOOKUP N/A N/A card N/A 0 N/A card_int N/A N/A card N/A N/A N/A s N/A 1 N/A suit_int card N/A r N/A rank_int card N/A c N/A N/A s 4 r N/A c N/A is_straight N/A N/A cards N/A N/A N/A previous N/A N/A rank_int N/A cards N/A 0 1 N/A card cards N/A N/A r N/A rank_int card N/A N/A r N/A previous 1 N/A N/A N/A N/A N/A r 12 N/A previous 3 N/A N/A False N/A previous r N/A True N/A is_flush N/A N/A cards N/A N/A N/A s N/A suit N/A cards N/A 0 N/A N/A all N/A N/A N/A suit card s N/A card cards N/A same_rank N/A N/A cards N/A N/A N/A r N/A rank N/A cards N/A 0 N/A N/A all N/A N/A N/A rank card r N/A card cards N/A split_ranks N/A N/A cards indexes N/A N/A N/A index indexes N/A N/A N/A a b N/A N/A cards N/A index N/A cards N/A index N/A N/A N/A same_rank a N/A same_rank b N/A N/A True N/A False N/A is_full_house N/A N/A cards N/A N/A N/A N/A split_ranks cards N/A 2 3 N/A is_four N/A N/A cards N/A N/A N/A N/A split_ranks cards N/A 1 4 N/A is_pat N/A N/A cards N/A N/A N/A N/A N/A is_straight cards N/A is_flush cards N/A is_full_house cards N/A is_four cards N/A is_straight_flush N/A N/A cards N/A N/A N/A N/A N/A is_straight cards N/A is_flush cards N/A rank_count N/A N/A cards N/A N/A N/A result N/A N/A card cards N/A N/A r N/A rank_int card N/A N/A result N/A r N/A N/A N/A result get r 0 1 N/A result N/A is_three N/A N/A cards counts N/A None N/A N/A counts N/A counts N/A rank_count cards N/A N/A rank count N/A N/A counts iteritems N/A N/A N/A count 3 N/A N/A True N/A False N/A is_two_pair N/A N/A cards counts N/A None N/A N/A pairs 0 N/A counts N/A counts N/A rank_count cards N/A N/A rank count N/A N/A counts iteritems N/A N/A N/A count 2 N/A N/A pairs 1 N/A N/A pairs 2 N/A is_pair N/A N/A cards counts N/A None N/A N/A counts N/A counts N/A rank_count cards N/A N/A rank count N/A N/A counts iteritems N/A N/A N/A count 2 N/A N/A True N/A False N/A get_ranks N/A N/A counts N/A N/A N/A values N/A N/A count rank N/A N/A rank count N/A N/A counts iteritems N/A N/A N/A values sort reverse True N/A values N/A N/A n N/A 1 N/A n values N/A values N/A get_straight_rank N/A N/A cards N/A N/A N/A top N/A rank_int N/A cards N/A -1 N/A bottom N/A rank_int N/A cards N/A 0 N/A N/A N/A top 12 N/A bottom 0 N/A N/A 3 N/A top N/A evaluate_hand N/A N/A cards N/A N/A N/A flush N/A is_flush cards N/A straight N/A is_straight cards N/A counts N/A rank_count cards N/A ranks N/A get_ranks counts N/A straight N/A N/A ranks N/A N/A get_straight_rank cards N/A N/A straight flush N/A N/A value 9 N/A N/A N/A is_four cards N/A N/A value 8 N/A N/A N/A is_full_house cards N/A N/A value 7 N/A N/A flush N/A N/A value 6 N/A N/A straight N/A N/A value 5 N/A N/A N/A is_three cards counts N/A N/A value 4 N/A N/A N/A is_two_pair cards counts N/A N/A value 3 N/A N/A N/A is_pair cards counts N/A N/A value 2 N/A N/A value 1 N/A N/A N/A ranks insert 0 value N/A N/A tuple ranks N/A