Esempio n. 1
0
 def __del__(self):
     "Deletes this Coordinate Transformation object."
     if self._ptr:
         capi.destroy_ct(self._ptr)
Esempio n. 2
0
 def __del__(self):
     "Deletes this Coordinate Transformation object."
     try:
         capi.destroy_ct(self._ptr)
     except (AttributeError, TypeError):
         pass
Esempio n. 3
0
"""
Esempio n. 4
0
 def __del__(self):
     "Deletes this Coordinate Transformation object."
     if self._ptr and capi:
         capi.destroy_ct(self._ptr)
Esempio n. 5
0
File: srs.py Progetto: nbsky/django
 def __del__(self):
     "Deletes this Coordinate Transformation object."
     try:
         capi.destroy_ct(self._ptr)
     except (AttributeError, TypeError):
         pass