Changeset 391 for python/trunk/Lib/numbers.py
- Timestamp:
- Mar 19, 2014, 11:31:01 PM (11 years ago)
- Location:
- python/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
python/trunk
-
Property svn:mergeinfo
set to
/python/vendor/Python-2.7.6 merged eligible /python/vendor/current merged eligible
-
Property svn:mergeinfo
set to
-
python/trunk/Lib/numbers.py
r2 r391 64 64 @abstractproperty 65 65 def imag(self): 66 """Retrieve the realcomponent of this number.66 """Retrieve the imaginary component of this number. 67 67 68 68 This should subclass Real. … … 304 304 305 305 def __index__(self): 306 """ index(self)"""306 """Called whenever an index is needed, such as in slicing""" 307 307 return long(self) 308 308
Note:
See TracChangeset
for help on using the changeset viewer.