[issue40752] Implement PurePath.__len__

Serhiy Storchaka report at bugs.python.org
Sun May 24 05:35:48 EDT 2020


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

The length of the object is the number of some items in the object. It is usually tied with iteration: len(obj) == len(list(obj)). Is this true for PurePath?

----------
nosy: +serhiy.storchaka

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


More information about the Python-bugs-list mailing list