mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-14 02:30:33 +05:00
SALOME Mesh module
fce720f2d2
class MeshMeta(type): def __instancecheck__(cls, inst): """Implement isinstance(inst, cls).""" return any(cls.__subclasscheck__(c) for c in {type(inst), inst.__class__}) def __subclasscheck__(cls, sub): """Implement issubclass(sub, cls).""" return type.__subclasscheck__(cls, sub) or (cls.__name__ == sub.__name__ and cls.__module__ == sub.__module__) ... class Mesh: __metaclass__ = MeshMeta ... |
||
---|---|---|
adm_local | ||
bin | ||
doc | ||
idl | ||
resources | ||
src | ||
AUTHORS | ||
ChangeLog | ||
CMakeLists.txt | ||
COPYING | ||
cvs-tags | ||
INSTALL | ||
LICENCE | ||
NEWS | ||
README | ||
SalomeSMESHConfig.cmake.in | ||
SMESH_version.h.in |