]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix invisible character typo (#123933)
authorXie Yanbo <xieyanbo@gmail.com>
Wed, 11 Sep 2024 11:44:46 +0000 (19:44 +0800)
committerGitHub <noreply@github.com>
Wed, 11 Sep 2024 11:44:46 +0000 (07:44 -0400)
Remove accidental addition of zero-width character (U+FEFF) reported by @jaraco:
- https://github.com/python/cpython/commit/c3f4a6b52418d9b9f091f864cb6340d0d5fc6966#commitcomment-146456562

Lib/zipfile/_path/__init__.py

index 5079db906480060907d9b5f76355e53bc65f1604..c0e53e273cfaac14e9b6034a586ebc8e4b7d5989 100644 (file)
@@ -280,7 +280,7 @@ class Path:
     >>> str(path.parent)
     'mem'
 
-    If the zipfile has no filename, such attributes are not
+    If the zipfile has no filename, such attributes are not
     valid and accessing them will raise an Exception.
 
     >>> zf.filename = None