Kevin Hock <kh...@pinterest.com> added the comment:
At best it is ambiguous, with the class being confused with Str being called Path. Looking up "AttributeError: 'PosixPath' object has no attribute 'startswith'" gives a lot of results for similar issues, so I think the wording could be improved. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45991> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com