New submission from Марат Нагаев <sidorovmarat1...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue36228>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to