mirror of https://github.com/python/cpython
5d8a3e74b5
Refuse to guess what a user means when they initialise a pathlib ABC without any positional arguments. In mainline pathlib it's normalised to `.`, but in the ABCs this guess isn't appropriate; for example, the path type may not represent the current directory as `.`, or may have no concept of a "current directory" at all. |
||
---|---|---|
.. | ||
__init__.py | ||
test_pathlib.py | ||
test_pathlib_abc.py |