Module Import alias ImportFrom alias If CompareGt SubscriptLoad AttributeLoad NameLoad attr Index Num Num body Assign NameStore NameLoad ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Return Str decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad Call NameLoad NameLoad decorator_list decorator_list Assign NameStore Call NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Return NameLoad If CompareIs NameLoad NameLoad body Return NameLoad If CompareIs NameLoad NameLoad body Return NameLoad If CompareEq NameLoad NameLoad body Return NameLoad If Call NameLoad NameLoad NameLoad body Return NameLoad If BoolOpOr Call NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad body Return NameLoad If CompareNotEq Call NameLoad NameLoad Call NameLoad NameLoad body Return NameLoad Assign NameStore Call NameLoad NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body If Call AttributeLoad NameLoad attr NameLoad body Return NameLoad handlers ExceptHandler type NameLoad body Pass orelse If Call NameLoad NameLoad NameLoad body Return Call AttributeLoad NameLoad attr NameLoad orelse If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Return Call NameLoad ListComp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad NameLoad body Return CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Return CompareEq AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Str attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Str attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A sys xdress.utils flatten N/A N/A N/A N/A sys version_info N/A 0 2 N/A N/A basestring str MatchAny N/A object N/A N/A A singleton helper class for matching any portion of a type. __repr__ N/A N/A self N/A N/A N/A MatchAny N/A __hash__ N/A N/A self N/A N/A N/A N/A hash N/A repr self N/A N/A N/A MatchAny N/A MatchAny matches N/A N/A pattern t N/A N/A N/A Indicates whether a type t matches a pattern. See TypeMatcher for more
    details.
     N/A tm N/A TypeMatcher pattern N/A N/A N/A tm matches t N/A TypeMatcher N/A object N/A N/A A class that is used for checking whether a type matches a given
    pattern.
     __init__ N/A N/A self pattern N/A N/A N/A Parameters
        ----------
        pattern : nested tuples, str, int
            This is a type-like entity that may have certain elements replaced
            by MatchAny, indicating that any value in a concrete type may match
            this pattern.  For example ('float64', MatchAny) will match the
            following::

                ('float64', 0)
                ('float64', '*')
                ('float64', '&')
                ('float64', 'const')

            but will not match::

                'float64'
                (('float64', 'const'), '&')

         N/A N/A self _pattern pattern N/A pattern N/A N/A self N/A N/A N/A The pattern to match. N/A N/A self _pattern N/A property __hash__ N/A N/A self N/A N/A N/A N/A hash N/A self pattern N/A matches N/A N/A self t N/A N/A N/A Tests that a type matches the pattern, returns True or False. N/A pattern N/A self pattern N/A N/A pattern MatchAny N/A N/A True N/A N/A t pattern N/A N/A True N/A N/A pattern None N/A N/A False N/A N/A t pattern N/A N/A True N/A N/A isinstance pattern basestring N/A N/A False N/A N/A N/A isinstance t basestring N/A isinstance t bool N/A isinstance t int N/A isinstance t float N/A N/A False N/A N/A N/A len t N/A len pattern N/A N/A False N/A submatcher N/A TypeMatcher None N/A N/A subt subpattern N/A zip t pattern N/A N/A N/A submatcher _pattern subpattern N/A N/A N/A N/A submatcher matches subt N/A N/A False N/A True N/A flatmatches N/A N/A self t N/A N/A N/A Flattens t and then sees if any part of it matches self.pattern.
         N/A N/A N/A N/A N/A self matches t N/A N/A True N/A N/A N/A TypeError N/A N/A N/A N/A N/A isinstance t basestring N/A N/A N/A N/A self matches t N/A N/A N/A isinstance t N/A tuple list N/A N/A N/A any N/A N/A N/A self matches i N/A i N/A flatten t N/A __eq__ N/A N/A self other N/A N/A N/A N/A isinstance other TypeMatcher N/A N/A N/A N/A self _pattern N/A other _pattern N/A N/A N/A N/A self _pattern other N/A __str__ N/A N/A self N/A N/A N/A N/A N/A {0}({1!s}) format N/A N/A self __class__ __name__ N/A self _pattern N/A __repr__ N/A N/A self N/A N/A N/A N/A N/A {0}({1!r}) format N/A N/A self __class__ __name__ N/A self _pattern N/A N/A