diff options
author | James Hilton-Balfe <gobot1234yt@gmail.com> | 2023-09-29 16:57:32 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-29 16:57:32 (GMT) |
commit | 7d57288f6d0e7fffb2002ceb460784d39277584a (patch) | |
tree | 8cf549c3aeff0d78eef1f76fba705eb205609c32 /Lib/_pydatetime.py | |
parent | 20bc5f7c28a6f8a2e156c4a748ffabb5efc7c761 (diff) | |
download | cpython-7d57288f6d0e7fffb2002ceb460784d39277584a.zip cpython-7d57288f6d0e7fffb2002ceb460784d39277584a.tar.gz cpython-7d57288f6d0e7fffb2002ceb460784d39277584a.tar.bz2 |
gh-109495: Remove unused slots from the Python implementation of datetime (GH-109494)
Diffstat (limited to 'Lib/_pydatetime.py')
-rw-r--r-- | Lib/_pydatetime.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/_pydatetime.py b/Lib/_pydatetime.py index 8827548..bca2acf 100644 --- a/Lib/_pydatetime.py +++ b/Lib/_pydatetime.py @@ -1684,7 +1684,7 @@ class datetime(date): The year, month and day arguments are required. tzinfo may be None, or an instance of a tzinfo subclass. The remaining arguments may be ints. """ - __slots__ = date.__slots__ + time.__slots__ + __slots__ = time.__slots__ def __new__(cls, year, month=None, day=None, hour=0, minute=0, second=0, microsecond=0, tzinfo=None, *, fold=0): |