New submission from Jeroen Demeyer <jeroen.k.deme...@gmail.com>:

The special method __length_hint__ can return NotImplemented. In this case, the 
result is as if the __length_hint__ method didn't exist at all. This behaviour 
is implemented and tested but not documented.

----------
assignee: docs@python
components: Documentation
messages: 350180
nosy: docs@python, jdemeyer
priority: normal
severity: normal
status: open
title: Document that __length_hint__ may return NotImplemented
type: enhancement
versions: Python 3.7, Python 3.8, Python 3.9

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue37913>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to