From 07c2c9e8417e5663796dafdca8ba6a259d50accc Mon Sep 17 00:00:00 2001 From: edson duarte Date: Thu, 25 Apr 2024 10:34:23 -0300 Subject: [PATCH 1/2] Add backquotes to remaining None occurrences --- Doc/library/datetime.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/datetime.rst b/Doc/library/datetime.rst index b1b5e04c74b066..449231b9c03b22 100644 --- a/Doc/library/datetime.rst +++ b/Doc/library/datetime.rst @@ -1735,7 +1735,7 @@ day, and subject to adjustment via a :class:`tzinfo` object. * ``fold in [0, 1]``. If an argument outside those ranges is given, :exc:`ValueError` is raised. All - default to 0 except *tzinfo*, which defaults to :const:`None`. + default to 0 except *tzinfo*, which defaults to ``None``. Class attributes: @@ -2487,7 +2487,7 @@ requires, and these work on all platforms with a standard C implementation. | | || Di 16 Aug 21:30:00 | | | | | 1988 (de_DE) | | +-----------+--------------------------------+------------------------+-------+ -| ``%x`` | Locale's appropriate date || 08/16/88 (None); | \(1) | +| ``%x`` | Locale's appropriate date || 08/16/88 (``None``); | \(1) | | | representation. || 08/16/1988 (en_US); | | | | || 16.08.1988 (de_DE) | | +-----------+--------------------------------+------------------------+-------+ From a4235b308ed1d7b87e89e09bfaa820f8db5ddc22 Mon Sep 17 00:00:00 2001 From: edson duarte Date: Mon, 29 Apr 2024 15:07:51 -0300 Subject: [PATCH 2/2] Revert one of the None occurrences --- Doc/library/datetime.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/datetime.rst b/Doc/library/datetime.rst index 449231b9c03b22..f40c6cea83820c 100644 --- a/Doc/library/datetime.rst +++ b/Doc/library/datetime.rst @@ -2487,7 +2487,7 @@ requires, and these work on all platforms with a standard C implementation. | | || Di 16 Aug 21:30:00 | | | | | 1988 (de_DE) | | +-----------+--------------------------------+------------------------+-------+ -| ``%x`` | Locale's appropriate date || 08/16/88 (``None``); | \(1) | +| ``%x`` | Locale's appropriate date || 08/16/88 (None); | \(1) | | | representation. || 08/16/1988 (en_US); | | | | || 16.08.1988 (de_DE) | | +-----------+--------------------------------+------------------------+-------+