We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd0fe5b commit b5b44d2Copy full SHA for b5b44d2
Doc/library/datetime.rst
@@ -984,9 +984,10 @@ Other constructors, all class methods:
984
is used.
985
986
For any :class:`.datetime` object *d*,
987
- ``d == datetime.combine(d.date(), d.time(), d.tzinfo)``. If date is a
988
- :class:`.datetime` object, its time components and :attr:`.tzinfo` attributes
989
- are ignored.
+ ``d == datetime.combine(d.date(), d.time(), d.tzinfo)``.
+
+ If the *date* argument is a :class:`.datetime` object, its time components and
990
+ :attr:`.tzinfo` attributes are ignored.
991
992
.. versionchanged:: 3.6
993
Added the *tzinfo* argument.
0 commit comments