[New-bugs-announce] [issue36228] Add function to complex objectf

Марат Нагаев report at bugs.python.org
Thu Mar 7 15:21:17 EST 2019


New submission from Марат Нагаев <sidorovmarat1995 at gmail.com>:

I think complex object should have methods __float__ (returns real part) and __int__ (returns int(real)).
Also I think we need floor and ceil methods om cmath module.
I think, these functions are useful.

----------
components: Extension Modules, Library (Lib)
messages: 337431
nosy: nagayev
priority: normal
severity: normal
status: open
title: Add function to complex objectf
versions: Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36228>
_______________________________________


More information about the New-bugs-announce mailing list