1896 valtypename = type(value).__name__ |
1896 valtypename = type(value).__name__ |
1897 try: |
1897 try: |
1898 if ConfigVarTypeStrings.index(valtype) in filterList: |
1898 if ConfigVarTypeStrings.index(valtype) in filterList: |
1899 continue |
1899 continue |
1900 except ValueError: |
1900 except ValueError: |
1901 if valtype == "sip.enumtype": |
1901 if valtype in ("sip.enumtype", "sip.wrappertype"): |
1902 if ConfigVarTypeStrings.index('class') in filterList: |
1902 if ConfigVarTypeStrings.index('class') in filterList: |
1903 continue |
1903 continue |
1904 elif (valtype == "sip.methoddescriptor" or |
1904 elif (valtype == "sip.methoddescriptor" or |
1905 valtype == "method_descriptor"): |
1905 valtype == "method_descriptor"): |
1906 if ConfigVarTypeStrings.index('method') in filterList: |
1906 if ConfigVarTypeStrings.index('method') in filterList: |