Skip to content

Commit 3f40103

Browse files
sepehr-rsichard26
andauthored
Update src/pip/_internal/commands/install.py comment
Co-authored-by: Richard Si <[email protected]>
1 parent 72ce992 commit 3f40103

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pip/_internal/commands/install.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -775,8 +775,8 @@ def create_os_error_message(
775775
)
776776
parts.append(".\n")
777777

778-
# Windows raises EINVAL when a file or folder name exceeds 255 characters,
779-
# even if long path support is enabled. Add a hint for that case.
778+
# Windows raises EINVAL when a file*name* or path segment exceeds 255
779+
# characters, even if long path support is enabled.
780780
if (
781781
WINDOWS
782782
and error.errno == errno.EINVAL

0 commit comments

Comments
 (0)