Module Expr Str Assign NameStore Str Assign NameStore ListLoad Str Str Str Str Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias Assign NameStore Str Assign NameStore BinOpAdd BinOpAdd Str NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListComp Call NameLoad NameLoad comprehension NameStore Call NameLoad Num Assign NameStore BinOpAdd BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Str attr Call NameLoad BinOpSub Call NameLoad NameLoad Call NameLoad NameLoad decorator_list Assign NameStore Dict AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign NameStore Num ClassDef bases NameLoad body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign NameStore Num If CompareIs NameLoad NameLoad body If CompareGt NameLoad Num body Assign NameStore Num orelse Assign NameStore BinOpSub NameLoad Num orelse Assign NameStore Call NameLoad NameLoad NameLoad If CompareIs NameLoad NameLoad body If CompareGt NameLoad Num body Assign NameStore NameLoad orelse Assign NameStore Num orelse Assign NameStore Call NameLoad NameLoad NameLoad Return TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareLt NameLoad Num body AugAssignAdd NameStore NameLoad If CompareLt NameLoad Num body Raise Call NameLoad Str If CompareGt NameLoad NameLoad body Assign NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults vararg body Expr Str TryExcept body Return Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Return Call NameLoad NameLoad decorator_list FunctionDef arguments args defaults vararg body If CompareEq Call NameLoad NameLoad Num body Assign NameStore Num Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore Num orelse If CompareEq Call NameLoad NameLoad Num body Assign TupleStore NameStore NameStore NameLoad Assign NameStore Num orelse If CompareEq Call NameLoad NameLoad Num body Assign TupleStore NameStore NameStore NameStore NameLoad orelse Raise Call NameLoad Str Assign NameStore NameLoad While NameLoad body Expr Yield NameLoad AugAssignAdd NameStore NameLoad If BoolOpAnd CompareLt NameLoad Num CompareLtE NameLoad NameLoad body Break If BoolOpAnd CompareGt NameLoad Num CompareGtE NameLoad NameLoad body Break decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr If Call NameLoad AttributeLoad NameLoad attr Str body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad keyword NameLoad If CompareLt Call AttributeLoad NameLoad attr Num body Assign NameStore ListComp NameLoad comprehension NameStore NameLoad Return NameLoad Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body For NameStore Call NameLoad AttributeLoad NameLoad attr body Expr Yield Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults body If CompareGt NameLoad Num body Return Num orelse Return Num decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr AttributeStore NameLoad attr TupleLoad Num Call AttributeLoad NameLoad attr Num orelse Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr AttributeStore NameLoad attr Call NameLoad NameLoad Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BinOpDiv BinOpSub BinOpAdd BinOpSub AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore BinOpAdd BinOpMult NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults vararg body Assign AttributeStore NameLoad attr ListComp TupleLoad NameLoad Call AttributeLoad NameLoad attr comprehension NameStore NameLoad Assign AttributeStore NameLoad attr Call NameLoad GeneratorExp NameLoad comprehension TupleStore NameStore NameStore AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body For TupleStore NameStore NameStore AttributeLoad NameLoad attr body If CompareLt NameLoad NameLoad body Return SubscriptLoad NameLoad Index NameLoad AugAssignSub NameStore NameLoad Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body For TupleStore NameStore NameStore AttributeLoad NameLoad attr body If CompareIn NameLoad NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpAdd BinOpAdd Str Call NameLoad AttributeLoad NameLoad attr Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults vararg body Assign AttributeStore NameLoad attr ListComp TupleLoad NameLoad Call AttributeLoad NameLoad attr comprehension NameStore NameLoad Assign AttributeStore NameLoad attr Num For TupleStore NameStore NameStore AttributeLoad NameLoad attr body AugAssignMult AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore ListLoad If CompareLt NameLoad Num body AugAssignAdd NameStore AttributeLoad NameLoad attr If BoolOpOr CompareLt NameLoad Num CompareGtE NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad If CompareEq Call NameLoad AttributeLoad NameLoad attr Num body Return SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Num Index NameLoad For TupleStore NameStore NameStore AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad If Call NameLoad NameLoad Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad Return Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpAdd BinOpAdd Str Call NameLoad AttributeLoad NameLoad attr Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num Num body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body Return TupleLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad BinOpSub BinOpAdd NameLoad NameLoad Num BinOpAdd NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return TupleLoad BinOpAdd SubscriptLoad NameLoad Index Num BinOpPow AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num BinOpAdd SubscriptLoad NameLoad Index Num Num decorator_list Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad BinOpAdd BinOpSub NameLoad NameLoad Num NameLoad If CompareGt SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Num AttributeLoad NameLoad attr body Assign NameStore Num While CompareLt BinOpAdd NameLoad Num Call NameLoad AttributeLoad NameLoad attr body If CompareGt SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index BinOpAdd NameLoad Num Index Num AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num Break AugAssignAdd NameStore Num orelse Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If CompareLt NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad NameLoad Num keyword AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad NameLoad Num keyword AttributeLoad NameLoad attr If BoolOpOr CompareEq NameLoad Call NameLoad AttributeLoad NameLoad attr CompareGt SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num NameLoad body AugAssignSub NameStore Num Assign NameStore BinOpSub NameLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num Assign NameStore SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num If BoolOpAnd CompareGt NameLoad Num CompareLt AttributeLoad NameLoad attr Num body Assign NameStore Call NameLoad AttributeLoad NameLoad attr orelse Assign NameStore AttributeLoad NameLoad attr Assign NameStore ListLoad If CompareEq NameLoad Num body Return Str For NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad Assign NameStore BinOpSub NameLoad Call NameLoad NameLoad If NameLoad body Assert CompareGt NameLoad Num Expr Call AttributeLoad NameLoad attr BinOpMult ListLoad SubscriptLoad NameLoad Index Num NameLoad Return Call AttributeLoad Str attr SubscriptLoad NameLoad Slice Num decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If CompareNotEq NameLoad Num body Raise Call NameLoad NameLoad If CompareIs NameLoad NameLoad body Raise Call NameLoad Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults vararg body Return ListLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Return Call NameLoad ListComp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr Return Call NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If BoolOpAnd NameLoad CompareEq SubscriptLoad SubscriptLoad NameLoad Index Num Index Num AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Slice Num Return ListComp NameLoad comprehension NameStore AttributeLoad NameLoad attr CompareNotIn NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr TupleLoad TupleLoad AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return SubscriptLoad NameLoad Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If BoolOpOr AttributeLoad NameLoad attr CompareIsNot NameLoad NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore Dict Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad orelse Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr If Call NameLoad NameLoad NameLoad body Assign NameStore ListComp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad Return Call NameLoad NameLoad If BoolOpAnd Call NameLoad NameLoad NameLoad NameLoad body Assign TupleStore NameStore NameStore NameLoad If UnaryOpNot Call NameLoad NameLoad NameLoad body Assign NameStore TupleLoad NameLoad If CompareIn NameLoad AttributeLoad NameLoad attr body Return Call SubscriptLoad AttributeLoad NameLoad attr Index NameLoad NameLoad Raise Call NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Num NameLoad NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad NameLoad If UnaryOpNot BinOpBitAnd NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad Str attr GeneratorExp NameLoad comprehension NameStore NameLoad CompareNotEq NameLoad Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr If BinOpBitAnd NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad Str orelse If BinOpBitAnd NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad Str orelse If BinOpBitAnd NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad Str If CompareIs NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Lambda arguments args NameParam defaults ListLoad Call NameLoad NameLoad Lambda arguments args NameParam NameParam defaults ListComp Call NameLoad NameLoad comprehension NameStore Call NameLoad NameLoad BinOpAdd NameLoad Num AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr TupleLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return CompareIsNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad keyword NameLoad If CompareLt Call AttributeLoad NameLoad attr Num body Assign NameStore ListComp NameLoad comprehension NameStore NameLoad Return NameLoad Assign NameStore Dict Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Return Call NameLoad NameLoad NameLoad AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num NameLoad NameLoad body Expr Str Return Call NameLoad NameLoad NameLoad NameLoad keyword NameLoad decorator_list Assign NameStore NameLoad ClassDef bases NameLoad body FunctionDef arguments args 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 BinOpAdd Call NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam defaults Num body If CompareEq NameLoad Num body Return AttributeLoad NameLoad attr If UnaryOpNot Call NameLoad NameLoad NameLoad body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad GeneratorExp SubscriptLoad AttributeLoad NameLoad attr Index NameLoad comprehension NameStore Call NameLoad Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Num body Raise Call NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num NameLoad NameLoad body Expr Str Return Call NameLoad NameLoad NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr For NameStore SubscriptLoad NameLoad Slice Num body For NameStore Call NameLoad NameLoad body Print NameLoad decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A This module can generate all strings that match a regular expression.

The regex is parsed using the SRE module that is standard in python,
then the data structure is executed to form a bunch of iterators.
 N/A __author__ alexperry@google.com (Alex Perry) N/A __all__ N/A Values AllStrings AllMatches ParseError N/A bisect N/A math N/A re N/A sre_constants N/A sre_parse N/A string N/A sys N/A types sre_yield cachingseq sre_yield fastdivmod N/A _RE_METACHARS $^{}*+\\ N/A _ESCAPED_METACHAR N/A N/A \\[ _RE_METACHARS ] N/A ESCAPED_METACHAR_RE N/A N/A re compile _ESCAPED_METACHAR N/A CHARSET N/A N/A chr c N/A c N/A range 256 N/A WORD N/A N/A N/A string ascii_letters N/A string digits _ Not N/A N/A chars N/A N/A N/A N/A N/A join N/A sorted N/A N/A set CHARSET N/A set chars N/A N/A CATEGORIES N/A N/A sre_constants CATEGORY_WORD N/A sre_constants CATEGORY_NOT_WORD N/A sre_constants CATEGORY_DIGIT N/A sre_constants CATEGORY_NOT_DIGIT N/A sre_constants CATEGORY_SPACE N/A sre_constants CATEGORY_NOT_SPACE WORD N/A Not WORD N/A string digits N/A Not N/A string digits N/A string whitespace N/A Not N/A string whitespace N/A MAX_REPEAT_COUNT 65535 ParseError N/A Exception N/A N/A N/A slice_indices N/A N/A slice_obj size N/A N/A N/A slice_obj.indices() except this one supports longs. N/A start N/A slice_obj start N/A stop N/A slice_obj stop N/A step N/A slice_obj step N/A N/A step None N/A N/A step 1 N/A N/A start None N/A N/A N/A step 0 N/A N/A start 0 N/A N/A start N/A size 1 N/A N/A start N/A _adjust_index start size N/A N/A stop None N/A N/A N/A step 0 N/A N/A stop size N/A N/A stop -1 N/A N/A stop N/A _adjust_index stop size N/A N/A start stop step N/A _adjust_index N/A N/A n size N/A N/A N/A N/A n 0 N/A N/A n size N/A N/A n 0 N/A N/A N/A IndexError Out of range N/A N/A n size N/A N/A n size N/A n N/A _xrange N/A N/A N/A args N/A N/A Because xrange doesn't support longs :( N/A N/A N/A N/A range args N/A N/A N/A OverflowError N/A N/A N/A _bigrange args N/A _bigrange N/A N/A N/A args N/A N/A N/A N/A len args 1 N/A N/A start 0 N/A stop N/A args N/A 0 N/A step 1 N/A N/A N/A N/A len args 2 N/A N/A N/A start stop args N/A step 1 N/A N/A N/A N/A len args 3 N/A N/A N/A start stop step args N/A N/A N/A ValueError Too many args for _bigrange N/A i start N/A True N/A N/A N/A i N/A i step N/A N/A N/A step 0 N/A i stop N/A N/A N/A N/A N/A step 0 N/A i stop N/A N/A N/A WrappedSequence N/A object N/A N/A This wraps a sequence, purely as a base clase for the other uses. __init__ N/A N/A self raw N/A N/A N/A N/A self raw raw N/A N/A self length N/A N/A raw __len__ N/A get_item N/A N/A self i d N/A None N/A N/A i N/A _adjust_index i N/A self length N/A N/A hasattr N/A self raw get_item N/A N/A N/A N/A N/A self raw get_item i d N/A N/A N/A self raw N/A i N/A __len__ N/A N/A self N/A N/A N/A N/A self length N/A __getitem__ N/A N/A self i N/A N/A N/A N/A isinstance i slice N/A N/A result N/A SlicedSequence self slicer i N/A N/A N/A N/A result __len__ 16 N/A N/A result N/A item N/A item result N/A result N/A i N/A _adjust_index i N/A self length N/A N/A N/A self get_item i N/A __iter__ N/A N/A self N/A N/A N/A i N/A _xrange N/A self length N/A N/A N/A N/A N/A self get_item i N/A N/A _sign N/A N/A x N/A N/A N/A N/A x 0 N/A N/A 1 N/A N/A -1 N/A SlicedSequence N/A WrappedSequence N/A N/A This is part of an immutable and potentially arbitrarily long list. __init__ N/A N/A self raw slicer N/A None N/A N/A N/A self raw raw N/A N/A slicer None N/A N/A N/A N/A self start N/A self stop N/A self step N/A 0 N/A N/A raw __len__ 1 N/A N/A N/A N/A self start N/A self stop N/A self step N/A slice_indices slicer N/A N/A raw __len__ N/A N/A self length N/A N/A N/A N/A N/A self stop N/A self start N/A self step N/A _sign N/A self step N/A self step N/A get_item N/A N/A self i d N/A None N/A N/A j N/A N/A i N/A self step N/A self start N/A N/A N/A self raw N/A j N/A N/A ConcatenatedSequence N/A WrappedSequence N/A N/A This is equivalent to using extend() but without unpacking the lists. __init__ N/A N/A self N/A alternatives N/A N/A N/A self list_lengths N/A N/A a N/A N/A a __len__ N/A a alternatives N/A N/A self length N/A sum N/A a_len N/A N/A _ a_len N/A self list_lengths N/A get_item N/A N/A self i d N/A None N/A N/A N/A a a_len N/A self list_lengths N/A N/A N/A i a_len N/A N/A N/A a N/A i N/A i a_len N/A N/A IndexError Too Big N/A __contains__ N/A N/A self item N/A N/A N/A N/A a _ N/A self list_lengths N/A N/A N/A item a N/A N/A True N/A False N/A __repr__ N/A N/A self N/A N/A N/A N/A N/A {concat  N/A repr N/A self list_lengths } N/A N/A CombinatoricsSequence N/A WrappedSequence N/A N/A This uses all combinations of one item from each passed list. __init__ N/A N/A self N/A components N/A N/A N/A self list_lengths N/A N/A a N/A N/A a __len__ N/A a components N/A N/A self length 1 N/A N/A _ c_len N/A self list_lengths N/A N/A N/A self length c_len N/A get_item N/A N/A self i d N/A None N/A N/A result N/A N/A N/A i 0 N/A N/A i N/A self length N/A N/A N/A i 0 N/A i N/A self length N/A N/A N/A IndexError N/A Index %d out of bounds N/A i N/A N/A N/A len N/A self list_lengths 1 N/A N/A N/A N/A N/A N/A self list_lengths N/A 0 N/A 0 N/A i N/A N/A c c_len N/A self list_lengths N/A N/A N/A i mod N/A divmod i c_len N/A N/A hasattr c get_item N/A N/A N/A N/A result append N/A N/A c get_item mod d N/A N/A N/A N/A result append N/A c N/A mod N/A N/A N/A join result N/A __repr__ N/A N/A self N/A N/A N/A N/A N/A {combin  N/A repr N/A self list_lengths } N/A N/A RepetitiveSequence N/A WrappedSequence N/A N/A This chooses an entry from a list, many times, and concatenates. __init__ N/A N/A self content lowest highest N/A 1 1 N/A N/A N/A self content content N/A N/A self content_length N/A N/A content __len__ N/A N/A self length N/A N/A fastdivmod powersum N/A self content_length lowest highest N/A N/A self lowest lowest N/A N/A self highest highest arbitrary_entry N/A N/A i N/A N/A N/A N/A N/A N/A fastdivmod powersum N/A self content_length lowest N/A N/A i lowest 1 N/A i lowest N/A entry_from_prev N/A N/A i prev N/A N/A N/A N/A N/A N/A prev N/A 0 N/A N/A self content_length N/A prev N/A 1 N/A N/A prev N/A 1 1 N/A N/A N/A self offsets N/A N/A cachingseq CachingFuncSequence arbitrary_entry N/A N/A highest lowest 1 entry_from_prev N/A N/A N/A N/A N/A self offsets N/A -1 N/A 0 N/A sys maxsize N/A N/A i 0 N/A N/A N/A i 2 N/A len N/A self offsets N/A N/A N/A N/A N/A N/A self offsets N/A N/A i 1 N/A 0 N/A sys maxsize N/A N/A N/A self index_of_offset i N/A N/A self offset_break N/A N/A N/A self offsets N/A i N/A 0 N/A N/A i 1 N/A N/A N/A self index_of_offset N/A len N/A self offsets N/A N/A self offset_break N/A sys maxsize N/A get_item N/A N/A self i d N/A None N/A N/A Finds out how many repeats this index implies, then picks strings. N/A N/A i N/A self offset_break N/A N/A by_bisect N/A N/A bisect bisect_left N/A self offsets N/A i -1 hi N/A self index_of_offset N/A N/A by_bisect N/A N/A bisect bisect_left N/A self offsets N/A i -1 lo N/A self index_of_offset N/A N/A N/A by_bisect N/A len N/A self offsets N/A N/A N/A N/A self offsets N/A by_bisect N/A 0 i N/A N/A by_bisect 1 N/A num N/A i N/A N/A N/A self offsets N/A by_bisect N/A 0 N/A count N/A N/A N/A self offsets N/A by_bisect N/A 1 N/A N/A N/A count 100 N/A N/A self content_length 1000 N/A N/A content N/A list N/A self content N/A N/A content N/A self content N/A result N/A N/A N/A count 0 N/A N/A N/A modulus N/A N/A fastdivmod divmod_iter num N/A self content_length N/A N/A N/A N/A result append N/A content N/A modulus N/A leftover N/A count N/A len result N/A leftover N/A N/A N/A leftover 0 N/A N/A N/A result extend N/A N/A N/A content N/A 0 leftover N/A N/A N/A join N/A result N/A -1 N/A __repr__ N/A N/A self N/A N/A N/A N/A {repeat base=%d low=%d high=%d} N/A N/A self content_length N/A self lowest N/A self highest N/A N/A SaveCaptureGroup N/A WrappedSequence N/A __init__ N/A N/A self parsed key N/A N/A N/A N/A self key key N/A N/A N/A N/A super SaveCaptureGroup self __init__ parsed N/A get_item N/A N/A self n d N/A None N/A N/A rv N/A N/A N/A super SaveCaptureGroup self get_item n d N/A N/A d None N/A N/A N/A d N/A N/A self key rv N/A rv N/A N/A ReadCaptureGroup N/A WrappedSequence N/A __init__ N/A N/A self n N/A N/A N/A N/A self num n N/A N/A self length 1 N/A get_item N/A N/A self i d N/A None N/A N/A N/A i 0 N/A N/A N/A IndexError i N/A N/A d None N/A N/A N/A ValueError ReadCaptureGroup with no dict N/A N/A N/A d get N/A self num fail N/A N/A RegexMembershipSequence N/A WrappedSequence N/A N/A Creates a sequence from the regex, knows how to test membership. empty_list N/A N/A self N/A _ N/A N/A N/A N/A branch_values N/A N/A self _ items N/A N/A N/A Converts SRE parser data into literals and merges those lists. N/A N/A ConcatenatedSequence N/A N/A N/A self sub_values parsed N/A parsed items N/A max_repeat_values N/A N/A self min_count max_count items N/A N/A N/A Sequential expansion of the count to be combinatorics. N/A max_count N/A min max_count N/A self max_count N/A N/A RepetitiveSequence N/A N/A self sub_values items min_count max_count N/A in_values N/A N/A self items N/A N/A N/A N/A items N/A N/A N/A items N/A 0 N/A 0 N/A sre_constants NEGATE N/A N/A items N/A N/A self branch_values None N/A items N/A 1 N/A N/A item N/A item N/A self charset N/A item items N/A N/A N/A self branch_values None items N/A not_literal N/A N/A self y N/A N/A N/A N/A N/A self in_values N/A N/A N/A sre_constants NEGATE N/A N/A sre_constants LITERAL y N/A category N/A N/A self y N/A N/A N/A N/A CATEGORIES N/A y N/A groupref N/A N/A self n N/A N/A N/A N/A self has_groupref True N/A N/A ReadCaptureGroup n N/A get_item N/A N/A self i d N/A None N/A N/A Typically only pass i.  d is an internal detail, for consistency with other classes.

        If you care about the capture groups, you should use
        RegexMembershipSequenceMatches instead, which returns a Match object
        instead of a string. N/A N/A N/A self has_groupref N/A d None N/A N/A N/A d None N/A N/A d N/A N/A N/A N/A N/A super RegexMembershipSequence self get_item i d N/A N/A N/A N/A N/A super RegexMembershipSequence self get_item i N/A sub_values N/A N/A self parsed N/A N/A N/A This knows how to convert one piece of parsed pattern. N/A N/A isinstance parsed N/A sre_parse SubPattern N/A N/A parsed N/A parsed data N/A N/A isinstance parsed list N/A N/A elements N/A N/A N/A self sub_values p N/A p parsed N/A N/A CombinatoricsSequence elements N/A N/A N/A isinstance parsed tuple parsed N/A N/A N/A matcher arguments parsed N/A N/A N/A isinstance arguments tuple N/A N/A arguments N/A arguments N/A N/A matcher N/A self backends N/A N/A N/A N/A N/A self backends N/A matcher arguments N/A N/A ParseError N/A repr parsed N/A maybe_save N/A N/A self group parsed N/A N/A N/A rv N/A N/A self sub_values parsed N/A N/A group None N/A N/A rv N/A SaveCaptureGroup rv group N/A rv N/A __init__ N/A N/A self pattern flags charset max_count N/A 0 CHARSET None N/A N/A N/A self matcher N/A N/A re compile N/A (?:%s)\Z pattern flags N/A N/A N/A flags N/A re DOTALL N/A N/A charset N/A N/A join N/A c N/A c charset N/A c N/A N/A self charset charset N/A N/A self named_group_lookup N/A N/A self matcher groupindex N/A N/A flags N/A re IGNORECASE N/A N/A N/A ParseError Flag "i" not supported. https://github.com/google/sre_yield/issues/4 N/A N/A N/A flags N/A re UNICODE N/A N/A N/A ParseError Flag "u" not supported. https://github.com/google/sre_yield/issues/3 N/A N/A N/A flags N/A re LOCALE N/A N/A N/A ParseError Flag "l" not supported. https://github.com/google/sre_yield/issues/5 N/A N/A max_count None N/A N/A N/A self max_count MAX_REPEAT_COUNT N/A N/A N/A self max_count max_count N/A N/A self has_groupref False N/A N/A self backends N/A N/A sre_constants LITERAL N/A sre_constants RANGE N/A sre_constants SUBPATTERN N/A sre_constants BRANCH N/A sre_constants MIN_REPEAT N/A sre_constants MAX_REPEAT N/A sre_constants AT N/A sre_constants ASSERT N/A sre_constants ASSERT_NOT N/A sre_constants ANY N/A sre_constants IN N/A sre_constants NOT_LITERAL N/A sre_constants CATEGORY N/A sre_constants GROUPREF N/A N/A N/A y N/A N/A N/A chr y N/A N/A N/A l h N/A N/A N/A chr c N/A c N/A range l N/A h 1 N/A self maybe_save N/A self branch_values N/A self max_repeat_values N/A self max_repeat_values N/A self empty_list N/A self empty_list N/A self empty_list N/A N/A N/A _ N/A N/A N/A self in_values N/A N/A N/A sre_constants NEGATE N/A self in_values N/A self not_literal N/A self category N/A self groupref N/A N/A self raw N/A N/A self sub_values N/A N/A sre_parse parse pattern flags N/A N/A self length N/A N/A N/A self raw __len__ N/A __contains__ N/A N/A self item N/A N/A N/A N/A N/A N/A N/A self matcher match item None N/A N/A RegexMembershipSequenceMatches N/A RegexMembershipSequence N/A __getitem__ N/A N/A self i N/A N/A N/A N/A isinstance i slice N/A N/A result N/A SlicedSequence self slicer i N/A N/A N/A N/A result __len__ 16 N/A N/A result N/A item N/A item result N/A result N/A d N/A N/A s N/A N/A N/A super RegexMembershipSequenceMatches self get_item i d N/A N/A Match s d N/A self named_group_lookup N/A N/A AllStrings N/A N/A regex flags charset max_count N/A 0 CHARSET None N/A N/A Constructs an object that will generate all matching strings. N/A N/A RegexMembershipSequence regex flags charset max_count max_count N/A N/A Values AllStrings Match N/A object N/A __init__ N/A N/A self string groups named_groups N/A N/A N/A N/A self _string string N/A N/A self _groups groups N/A N/A self _named_groups named_groups N/A N/A self lastindex N/A N/A len groups 1 N/A group N/A N/A self n N/A 0 N/A N/A N/A n 0 N/A N/A N/A self _string N/A N/A N/A isinstance n int N/A N/A n N/A N/A self _named_groups N/A n N/A N/A N/A self _groups N/A n N/A groups N/A N/A self N/A N/A N/A N/A tuple N/A N/A N/A self _groups N/A i N/A i N/A range 1 N/A self lastindex N/A groupdict N/A N/A self N/A N/A N/A d N/A N/A N/A k v N/A N/A N/A self _named_groups items N/A N/A N/A d N/A k N/A N/A self _groups N/A v N/A d N/A span N/A N/A self n N/A 0 N/A N/A N/A NotImplementedError N/A N/A AllMatches N/A N/A regex flags charset max_count N/A 0 CHARSET None N/A N/A Constructs an object that will generate all matching strings. N/A N/A RegexMembershipSequenceMatches regex flags charset max_count max_count N/A main N/A N/A argv N/A None N/A N/A This module can be executed on the command line for testing. N/A N/A argv None N/A N/A argv N/A sys argv N/A arg N/A argv N/A 1 N/A N/A i N/A AllStrings arg N/A N/A i N/A N/A N/A __name__ __main__ N/A N/A N/A main