diff options
author | Xie Yanbo <xieyanbo@gmail.com> | 2024-09-11 11:44:46 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-11 11:44:46 (GMT) |
commit | e9eedf19c99475b1940bbbbdc8816b51da3968e7 (patch) | |
tree | 2813fd22a5d6df45e1ff23a1f1dfddf569c59e5b /Lib/zipfile | |
parent | d2b9b6f919e92184420c8e13d078e83447ce7917 (diff) | |
download | cpython-e9eedf19c99475b1940bbbbdc8816b51da3968e7.zip cpython-e9eedf19c99475b1940bbbbdc8816b51da3968e7.tar.gz cpython-e9eedf19c99475b1940bbbbdc8816b51da3968e7.tar.bz2 |
Fix invisible character typo (#123933)
Remove accidental addition of zero-width character (U+FEFF) reported by @jaraco:
- https://github.com/python/cpython/commit/c3f4a6b52418d9b9f091f864cb6340d0d5fc6966#commitcomment-146456562
Diffstat (limited to 'Lib/zipfile')
-rw-r--r-- | Lib/zipfile/_path/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/zipfile/_path/__init__.py b/Lib/zipfile/_path/__init__.py index 5079db9..c0e53e2 100644 --- a/Lib/zipfile/_path/__init__.py +++ b/Lib/zipfile/_path/__init__.py @@ -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 |