Module __future__ :: Class _Feature
[hide private]
[frames] | no frames]

_ClassType _Feature

Instance Methods [hide private]
 
__init__(self, optionalRelease, mandatoryRelease, compiler_flag)
 
getOptionalRelease(self)
Return first release in which this feature was recognized.
 
getMandatoryRelease(self)
Return release in which this feature will become mandatory.
 
__repr__(self)
Method Details [hide private]

getOptionalRelease(self)

 

Return first release in which this feature was recognized.

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

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.