py: Add .real and .imag attributes to complex numbers.

This commit is contained in:
Damien George
2014-08-12 19:57:52 +01:00
parent bb91f1195a
commit f20375eedd
2 changed files with 14 additions and 0 deletions

View File

@@ -136,7 +136,11 @@ Q(calcsize)
Q(chr)
Q(classmethod)
Q(_collections)
#if MICROPY_PY_BUILTINS_COMPLEX
Q(complex)
Q(real)
Q(imag)
#endif
Q(dict)
Q(dir)
Q(divmod)