Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes
__future__._Feature Class Reference

List of all members.

Public Member Functions

def __init__
def getOptionalRelease
def getMandatoryRelease
def __repr__

Public Attributes

 optional
 mandatory
 compiler_flag

Detailed Description

Definition at line 76 of file __future__.py.


Constructor & Destructor Documentation

def __future__._Feature.__init__ (   self,
  optionalRelease,
  mandatoryRelease,
  compiler_flag 
)

Definition at line 77 of file __future__.py.

00077 
00078     def __init__(self, optionalRelease, mandatoryRelease, compiler_flag):
00079         self.optional = optionalRelease
00080         self.mandatory = mandatoryRelease
00081         self.compiler_flag = compiler_flag

Here is the caller graph for this function:


Member Function Documentation

Definition at line 99 of file __future__.py.

00099 
00100     def __repr__(self):
00101         return "_Feature" + repr((self.optional,
00102                                   self.mandatory,
00103                                   self.compiler_flag))

Return release in which this feature will become mandatory.

This is a 5-tuple, of the same form as sys.version_info, or, if
the feature was dropped, is None.

Definition at line 90 of file __future__.py.

00090 
00091     def getMandatoryRelease(self):
00092         """Return release in which this feature will become mandatory.
00093 
00094         This is a 5-tuple, of the same form as sys.version_info, or, if
00095         the feature was dropped, is None.
00096         """
00097 
00098         return self.mandatory

Return first release in which this feature was recognized.

This is a 5-tuple, of the same form as sys.version_info.

Definition at line 82 of file __future__.py.

00082 
00083     def getOptionalRelease(self):
00084         """Return first release in which this feature was recognized.
00085 
00086         This is a 5-tuple, of the same form as sys.version_info.
00087         """
00088 
00089         return self.optional


Member Data Documentation

Definition at line 80 of file __future__.py.

Definition at line 79 of file __future__.py.

Definition at line 78 of file __future__.py.


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