Bugs item #742543, was opened at 2003-05-23 19:11
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=114534&aid=742543&group_id=14534
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Dinu C. Gherman (dinu_gherman)
Assigned to: Nobody/Anonymous (nobody)
Summary: "nil" used in Cocoa-Python doc-based app template
Initial Comment:
The default value returned by the method
MyDocument.dataRepresentationOfType_() is "nil" instead of "None" -
if this is what is needed there in the template(?). "nil" is definitely not
defined. This is an excerpt from a new, with PB instantiated, Cocoa-
Python document-based application template:
class MyDocument(NibClassBuilder.AutoBaseClass):
...
def dataRepresentationOfType_(self, aType):
# return an NSData containing the document's data represented
as
# the type identified by aType.
return nil
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=114534&aid=742543&group_id=14534
|