示例#1
0
文件: srs.py 项目: JMassapina/lettuce
 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
文件: srs.py 项目: nbsky/django
 def __del__(self):
     "Deletes this Coordinate Transformation object."
     try:
         capi.destroy_ct(self._ptr)
     except (AttributeError, TypeError):
         pass