Python
Monday, December 27, 2010
meaning of class FileInfo(UserDict)
from
UserDict
import
UserDict
class
FileInfo
(UserDict):
In
Python
, the ancestor of a class is simply listed in parentheses immediately after the class name. So the
FileInfo
class is inherited from the
UserDict
class
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment