Home
last modified time | relevance | path

Searched refs:isclass (Results 1 – 25 of 1398) sorted by relevance

12345678910>>...56

/dports/devel/pycharm-pro/pycharm-2020.2.3/plugins/python/helpers/pydev/pydev_tests/
H A Dtest_jysimpleTipper.py12 from _pydev_bundle._pydev_jy_imports_tipper import isclass
159 assert not isclass(java)
164 assert not isclass(java.lang)
169 assert isclass(Method)
173 assert isclass(System)
177 assert isclass(String)
184 assert not isclass(arraycopy)
189 assert not isclass(out)
204 assert not isclass(str)
215 assert not isclass(met1)
[all …]
/dports/devel/py-deprecated/Deprecated-1.2.13/tests/
H A Dtest_deprecated_class.py28 assert inspect.isclass(MyBaseClass)
57 assert inspect.isclass(MyBaseClass)
87 assert inspect.isclass(MyBaseClass)
105 assert inspect.isclass(MyBaseClass)
137 assert inspect.isclass(MyBaseClass)
155 assert inspect.isclass(MyClass)
/dports/devel/py-nose/nose-1.3.7/unit_tests/
H A Dtest_utils.py136 assert util.isclass(TC), "failed to detect %s as class" % TC
137 assert util.isclass(TC_Classic), "failed to detect %s as class" % TC_Classic
138 assert util.isclass(TC_object), "failed to detect %s as class" % TC_object
139 assert util.isclass(TC_custom_type), "failed to detect %s as class" % TC_custom_type
140 …assert util.isclass(TC_unittest_custom_type), "failed to detect %s as class" % TC_unittest_custom_…
145 assert not util.isclass(anint), "should have ignored %s" % type(anint)
146 assert not util.isclass(adict), "should have ignored %s" % type(adict)
/dports/devel/py-traitlets/traitlets-5.1.1/traitlets/utils/
H A Ddescriptions.py65 if not inspect.isclass(value):
72 if article == "the" or (article is None and not inspect.isclass(value)):
81 if inspect.isclass(value):
127 if inspect.isclass(value):
/dports/devel/py-graphene/graphene-2.1.9/graphene/utils/
H A Ddeprecated.py31 if inspect.isclass(func1):
45 elif inspect.isclass(reason) or inspect.isfunction(reason):
57 if inspect.isclass(func2):
/dports/math/vtk9/VTK-9.1.0/Utilities/Maintenance/
H A Dvtk_generate_pyi.py60 isclass = inspect.isclass variable
73 return (isclass(m) and issubclass(m, int))
115 if isclass(o):
330 if not m.startswith("__") and not ismethod(o) and not isclass(o):
358 if isclass(o) and m == o.__name__:
368 if not m.startswith("__") and not ismethod(o) and not isclass(o):
430 if isclass(o) and m == o.__name__:
475 if not m.startswith("__") and not ismethod(o) and not isclass(o):
486 if isclass(o) and m == o.__name__:
496 if isclass(o) and m != o.__name__:
/dports/devel/py-deprecated/Deprecated-1.2.13/deprecated/
H A Dclassic.py130 if inspect.isclass(wrapped):
135 if inspect.isclass(instance):
159 if inspect.isclass(wrapped):
270 if inspect.isclass(wrapped):
/dports/devel/pycharm-pro/pycharm-2020.2.3/plugins/python/helpers/pockets/
H A Dcollections.py9 from inspect import isclass
108 if cls and not (isclass(cls) and issubclass(type(x), cls)):
162 if cls and not (isclass(cls) and issubclass(type(x), cls)):
/dports/devel/py-pydecor/pydecor-2.0.1/src/pydecor/decorators/
H A Dgeneric.py28 from inspect import isclass
218 if implicit_method_decoration and isclass(decorated):
285 if implicit_method_decoration and isclass(decorated):
346 if implicit_method_decoration and isclass(decorated):
499 if implicit_method_decoration and isclass(wrapped):
/dports/net/py-ndg-httpsclient/ndg_httpsclient-0.5.1/ndg/httpsclient/
H A Durllib2_build_opener.py44 def isclass(obj): function
56 if isclass(check):
74 if isclass(h):
/dports/devel/py-pockets/pockets-0.9.1/pockets/
H A Dcollections.py10 from inspect import isclass
312 if cls and not (isclass(cls) and issubclass(type(x), cls)):
408 if cls and not (isclass(cls) and issubclass(type(x), cls)):
499 if cls and not (isclass(cls) and issubclass(type(x), cls)):
/dports/math/cadabra2/cadabra2-2.3.6.8/config/
H A Dgenerate_keywords.py10 isclass = lambda x: inspect.isclass(x) function
11 return [x[0] for x in inspect.getmembers(module, isclass)]
/dports/www/py-notebook/notebook-6.4.5/notebook/
H A Dtraittypes.py69 if not inspect.isclass(value):
76 if article == "the" or (article is None and not inspect.isclass(value)):
85 if inspect.isclass(value):
181 if not (inspect.isclass(klass) or isinstance(klass, str)):
283 elif all(inspect.isclass(k) or isinstance(k, str) for k in klasses):
/dports/science/py-segregation/segregation-2.1.0/segregation/batch/
H A Dbatch_compute.py15 if inspect.isclass(obj):
20 if inspect.isclass(obj):
25 if inspect.isclass(obj):
31 if inspect.isclass(obj):
/dports/math/py-rpy2/rpy2-3.4.5/rpy2/tests/robjects/
H A Dtest_rs4.py19 assert not ainstance.isclass("B")
20 assert ainstance.isclass("A")
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/catapult/common/py_utils/py_utils/
H A Dclass_util.py8 assert inspect.isclass(parent_cls), '%s should be a class' % parent_cls
9 assert inspect.isclass(child_cls), '%s should be a class' % child_cls
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/catapult/common/py_utils/py_utils/
H A Dclass_util.py8 assert inspect.isclass(parent_cls), '%s should be a class' % parent_cls
9 assert inspect.isclass(child_cls), '%s should be a class' % child_cls
/dports/devel/py-jupyter-server/jupyter_server-1.12.1/jupyter_server/
H A Dtraittypes.py74 if not inspect.isclass(value):
81 if article == "the" or (article is None and not inspect.isclass(value)):
90 if inspect.isclass(value):
196 if not (inspect.isclass(klass) or isinstance(klass, str)):
302 elif all(inspect.isclass(k) or isinstance(k, str) for k in klasses):
/dports/devel/py-nbconvert/nbconvert-6.2.0/nbconvert/exporters/
H A Dexporter.py220 isclass = isinstance(preprocessor, type)
221 constructed = not isclass
238 elif isclass and issubclass(preprocessor, HasTraits):
243 elif isclass:
/dports/security/py-exscript/exscript-2.6/tests/Exscript/workqueue/
H A Drun_suite.py9 from inspect import isfunction, ismodule, isclass
53 elif isclass(theclass.CORRELATE):
62 if isclass(item):
/dports/security/py-exscript/exscript-2.6/tests/Exscript/emulators/
H A Drun_suite.py9 from inspect import isfunction, ismodule, isclass
53 elif isclass(theclass.CORRELATE):
62 if isclass(item):
/dports/security/py-exscript/exscript-2.6/tests/Exscript/
H A Drun_suite.py9 from inspect import isfunction, ismodule, isclass
53 elif isclass(theclass.CORRELATE):
62 if isclass(item):
/dports/security/py-exscript/exscript-2.6/tests/Exscript/util/
H A Drun_suite.py9 from inspect import isfunction, ismodule, isclass
53 elif isclass(theclass.CORRELATE):
62 if isclass(item):
/dports/security/py-exscript/exscript-2.6/tests/Exscript/protocols/
H A Drun_suite.py9 from inspect import isfunction, ismodule, isclass
53 elif isclass(theclass.CORRELATE):
62 if isclass(item):
/dports/security/py-exscript/exscript-2.6/tests/Exscript/servers/
H A Drun_suite.py9 from inspect import isfunction, ismodule, isclass
53 elif isclass(theclass.CORRELATE):
62 if isclass(item):

12345678910>>...56