Vega strike Python Modules doc  0.5.1
Documentation of the " Modules " folder of Vega strike
 All Data Structures Namespaces Files Functions Variables
_Feature Class Reference

Public Member Functions

def __init__
 
def getOptionalRelease
 
def getMandatoryRelease
 
def __repr__
 

Data Fields

 optional
 
 mandatory
 
 compiler_flag
 

Detailed Description

Definition at line 66 of file __future__.py.

Constructor & Destructor Documentation

def __init__ (   self,
  optionalRelease,
  mandatoryRelease,
  compiler_flag 
)

Definition at line 67 of file __future__.py.

67 
68  def __init__(self, optionalRelease, mandatoryRelease, compiler_flag):
69  self.optional = optionalRelease
70  self.mandatory = mandatoryRelease
71  self.compiler_flag = compiler_flag

Member Function Documentation

def __repr__ (   self)

Definition at line 89 of file __future__.py.

References _Feature.compiler_flag, _Feature.mandatory, and _Feature.optional.

89 
90  def __repr__(self):
91  return "_Feature" + repr((self.optional,
92  self.mandatory,
93  self.compiler_flag))
def getMandatoryRelease (   self)
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 80 of file __future__.py.

References _Feature.mandatory.

80 
81  def getMandatoryRelease(self):
82  """Return release in which this feature will become mandatory.
83 
84  This is a 5-tuple, of the same form as sys.version_info, or, if
85  the feature was dropped, is None.
86  """
87 
88  return self.mandatory
def getOptionalRelease (   self)
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 72 of file __future__.py.

References _Feature.optional.

72 
73  def getOptionalRelease(self):
74  """Return first release in which this feature was recognized.
75 
76  This is a 5-tuple, of the same form as sys.version_info.
77  """
78 
79  return self.optional

Field Documentation

compiler_flag

Definition at line 70 of file __future__.py.

mandatory

Definition at line 69 of file __future__.py.

optional

Definition at line 68 of file __future__.py.


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