diff options
author | Barney Gale <barney.gale@gmail.com> | 2023-05-25 20:24:20 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-25 20:24:20 (GMT) |
commit | bd1b6228d132b8e9836fe352cd8dca2b6c1bd98c (patch) | |
tree | 42df193dad2436c36c67ca3c4ce5235e5eca8845 /Lib/os.py | |
parent | fea8632ec69d160a11b8ec506900c14989952bc1 (diff) | |
download | cpython-bd1b6228d132b8e9836fe352cd8dca2b6c1bd98c.zip cpython-bd1b6228d132b8e9836fe352cd8dca2b6c1bd98c.tar.gz cpython-bd1b6228d132b8e9836fe352cd8dca2b6c1bd98c.tar.bz2 |
GH-104898: Add __slots__ to os.PathLike (GH-104899)
Diffstat (limited to 'Lib/os.py')
-rw-r--r-- | Lib/os.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1079,6 +1079,8 @@ class PathLike(abc.ABC): """Abstract base class for implementing the file system path protocol.""" + __slots__ = () + @abc.abstractmethod def __fspath__(self): """Return the file system path representation of the object.""" |