Ronald Oussoren  committed d193d84

Using nil without importing it (from objc). Fixed by using None instead, nil
is only there to ease translation of Objective-C code into Python.

  • Participants
  • Parent commits fa2a0ab

Comments (0)

Files changed (1)

File pyobjc/ProjectBuilder Extras/Project Templates/Cocoa-Python Document-based Application/

     def dataRepresentationOfType_(self, aType):
         # return an NSData containing the document's data represented as
         # the type identified by aType.
-        return nil
+        return None
     def loadDataRepresentation_ofType_(self, data, aType):
         # load document from data (NSData instance) by interpreting