Пример #1
0
 def __del__(self):
     "Deletes this Coordinate Transformation object."
     if self._ptr:
         capi.destroy_ct(self._ptr)
Пример #2
0
 def __del__(self):
     "Deletes this Coordinate Transformation object."
     try:
         capi.destroy_ct(self._ptr)
     except (AttributeError, TypeError):
         pass
Пример #3
0
"""
Пример #4
0
 def __del__(self):
     "Deletes this Coordinate Transformation object."
     if self._ptr and capi:
         capi.destroy_ct(self._ptr)
Пример #5
0
 def __del__(self):
     "Deletes this Coordinate Transformation object."
     try:
         capi.destroy_ct(self._ptr)
     except (AttributeError, TypeError):
         pass