Kaydet (Commit) 06d74418 authored tarafından Guido van Rossum's avatar Guido van Rossum

add ComplexType

üst 72418792
...@@ -9,6 +9,10 @@ TypeType = type(NoneType) ...@@ -9,6 +9,10 @@ TypeType = type(NoneType)
IntType = type(0) IntType = type(0)
LongType = type(0L) LongType = type(0L)
FloatType = type(0.0) FloatType = type(0.0)
import __builtin__
if vars(__builtin__).has_key('complex'):
ComplexType = type(complex(0,1))
del __builtin__
StringType = type('') StringType = type('')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment