Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes | Private Attributes
modulefinder.Module Class Reference

List of all members.

Public Member Functions

def __init__
def __repr__

Public Attributes

 globalnames
 starimports

Private Attributes

 __name__
 __file__
 __path__
 __code__

Detailed Description

Definition at line 48 of file modulefinder.py.


Constructor & Destructor Documentation

def modulefinder.Module.__init__ (   self,
  name,
  file = None,
  path = None 
)

Definition at line 50 of file modulefinder.py.

00050 
00051     def __init__(self, name, file=None, path=None):
00052         self.__name__ = name
00053         self.__file__ = file
00054         self.__path__ = path
00055         self.__code__ = None
00056         # The set of global names that are assigned to in the module.
00057         # This includes those names imported through starimports of
00058         # Python modules.
00059         self.globalnames = {}
00060         # The set of starimports this module did that could not be
00061         # resolved, ie. a starimport from a non-Python module.
00062         self.starimports = {}

Here is the caller graph for this function:


Member Function Documentation

Definition at line 63 of file modulefinder.py.

00063 
00064     def __repr__(self):
00065         s = "Module(%r" % (self.__name__,)
00066         if self.__file__ is not None:
00067             s = s + ", %r" % (self.__file__,)
00068         if self.__path__ is not None:
00069             s = s + ", %r" % (self.__path__,)
00070         s = s + ")"
00071         return s


Member Data Documentation

Definition at line 54 of file modulefinder.py.

Definition at line 52 of file modulefinder.py.

Definition at line 51 of file modulefinder.py.

Definition at line 53 of file modulefinder.py.

Definition at line 58 of file modulefinder.py.

Definition at line 61 of file modulefinder.py.


The documentation for this class was generated from the following file: