Changeset 388 for python/vendor/current/Lib/numbers.py
- Timestamp:
- Mar 19, 2014, 11:11:30 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/vendor/current/Lib/numbers.py
r2 r388 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.