diff options
Diffstat (limited to 'Lib/_pydecimal.py')
-rw-r--r-- | Lib/_pydecimal.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/_pydecimal.py b/Lib/_pydecimal.py index 0fa152c..edabf72 100644 --- a/Lib/_pydecimal.py +++ b/Lib/_pydecimal.py @@ -1674,13 +1674,13 @@ class Decimal(object): __trunc__ = __int__ + @property def real(self): return self - real = property(real) + @property def imag(self): return Decimal(0) - imag = property(imag) def conjugate(self): return self |