Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Delete duplicated docstring
  • Loading branch information
barneygale committed Feb 5, 2022
commit 7fb9b0a099dad5bede555a8798b82a1a5ed535d0
2 changes: 0 additions & 2 deletions Lib/pathlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -922,8 +922,6 @@ class PureWindowsPath(PurePath):
__slots__ = ()

def is_reserved(self):
"""Return True if the path contains one of the special names reserved
by the system, if any."""
# NOTE: the rules for reserved names seem somewhat complicated
# (e.g. r"..\NUL" is reserved but not r"foo\NUL" if "foo" does not
# exist). We err on the side of caution and return True for paths
Expand Down