Skip to content

Commit 492aa13

Browse files
committed
Fixed wrong notation for inline code
1 parent 3e611d4 commit 492aa13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/datetime.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1330,7 +1330,7 @@ Instance methods:
13301330
If *d* is aware, *d* is normalized to UTC time, by subtracting
13311331
``d.utcoffset()``, and a :class:`time.struct_time` for the
13321332
normalized time is returned. :attr:`tm_isdst` is forced to ``0``. Note
1333-
that an :exc:`OverflowError` may be raised if *d*.year was
1333+
that an :exc:`OverflowError` may be raised if ``d.year`` was
13341334
``MINYEAR`` or ``MAXYEAR`` and UTC adjustment spills over a year
13351335
boundary.
13361336

0 commit comments

Comments
 (0)