New submission from Augustin PROLONGEAU <augustin....@gmail.com>:
I think this would help development a lot. Below an example of how i would see the function written for zip: def __str__(self): return str((*self,)) # And for __repr__ function def __repr__(self): return f'zip{str(self)}' ---------- messages: 342556 nosy: AugPro priority: normal severity: normal status: open title: Implemented __str__ for zip and map objects type: enhancement versions: Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue36923> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com