@@ -564,7 +564,7 @@ Other constructors, all class methods:
564564
565565.. classmethod :: date.strptime(date_string, format)
566566
567- Return a :class: `date ` corresponding to *date_string *, parsed according to
567+ Return a :class: `. date ` corresponding to *date_string *, parsed according to
568568 *format *. This is equivalent to::
569569
570570 date(*(time.strptime(date_string, format)[0:3]))
@@ -812,7 +812,7 @@ Instance methods:
812812.. method :: date.__format__(format)
813813
814814 Same as :meth: `.date.strftime `. This makes it possible to specify a format
815- string for a :class: `date ` object in :ref: `formatted string
815+ string for a :class: `. date ` object in :ref: `formatted string
816816 literals <f-strings>` and when using :meth: `str.format `.
817817 See also :ref: `strftime-strptime-behavior ` and :meth: `date.isoformat `.
818818
@@ -1060,7 +1060,7 @@ Other constructors, all class methods:
10601060 are equal to the given :class: `.time ` object's. If the *tzinfo *
10611061 argument is provided, its value is used to set the :attr: `.tzinfo ` attribute
10621062 of the result, otherwise the :attr: `~.time.tzinfo ` attribute of the *time * argument
1063- is used. If the *date * argument is a :class: `!datetime ` object, its time components
1063+ is used. If the *date * argument is a :class: `!datetime ` object, its time components
10641064 and :attr: `.tzinfo ` attributes are ignored.
10651065
10661066 For any :class: `.datetime ` object ``d ``,
0 commit comments