1688 valtypename not in |
1688 valtypename not in |
1689 ["ndarray", "MultiValueDict", "array"]): |
1689 ["ndarray", "MultiValueDict", "array"]): |
1690 valtype = valtypestr |
1690 valtype = valtypestr |
1691 else: |
1691 else: |
1692 try: |
1692 try: |
1693 if ConfigVarTypeStrings.index(valtype) in filter: |
|
1694 continue |
|
1695 # Strip 'instance' to be equal with Python 3 |
1693 # Strip 'instance' to be equal with Python 3 |
1696 if valtype == "instancemethod": |
1694 if valtype == "instancemethod": |
1697 valtype = "method" |
1695 valtype = "method" |
|
1696 |
|
1697 if ConfigVarTypeStrings.index(valtype) in filter: |
|
1698 continue |
1698 except ValueError: |
1699 except ValueError: |
1699 if valtype == "classobj": |
1700 if valtype == "classobj": |
1700 if ConfigVarTypeStrings.index( |
1701 if ConfigVarTypeStrings.index( |
1701 'instance') in filter: |
1702 'instance') in filter: |
1702 continue |
1703 continue |