From 17e62f9998b5c0e059858a48939c6d557ce1b14d Mon Sep 17 00:00:00 2001 From: "Jules Lasne (jlasne)" Date: Fri, 15 Nov 2019 18:39:53 +0100 Subject: [PATCH 1/2] Updated missing periods in cmdline.rst --- Doc/using/cmdline.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Doc/using/cmdline.rst b/Doc/using/cmdline.rst index 457a7fcb6d9e3f..516579ddeb87c7 100644 --- a/Doc/using/cmdline.rst +++ b/Doc/using/cmdline.rst @@ -457,7 +457,7 @@ Miscellaneous options on a crash. * Enable :ref:`asyncio debug mode `. * Set the :attr:`~sys.flags.dev_mode` attribute of :attr:`sys.flags` to - ``True`` + ``True``. * :class:`io.IOBase` destructor logs ``close()`` exceptions. * ``-X utf8`` enables UTF-8 mode for operating system interfaces, overriding @@ -780,8 +780,8 @@ conflict. * ``debug``: install debug hooks on top of the :ref:`default memory allocators `. - * ``malloc_debug``: same as ``malloc`` but also install debug hooks - * ``pymalloc_debug``: same as ``pymalloc`` but also install debug hooks + * ``malloc_debug``: same as ``malloc`` but also install debug hooks. + * ``pymalloc_debug``: same as ``pymalloc`` but also install debug hooks. See the :ref:`default memory allocators ` and the :c:func:`PyMem_SetupDebugHooks` function (install debug hooks on Python @@ -898,7 +898,7 @@ conflict. .. envvar:: PYTHONUTF8 If set to ``1``, enables the interpreter's UTF-8 mode, where ``UTF-8`` is - used as the text encoding for system interfaces, regardless of the + used as encoding for system interfaces, regardless of the current locale setting. This means that: From f2b87e4f0959294a9e48b17a639fc1b79c32f10b Mon Sep 17 00:00:00 2001 From: "Jules Lasne (jlasne)" Date: Fri, 15 Nov 2019 18:41:16 +0100 Subject: [PATCH 2/2] Apply suggestions from code review --- Doc/using/cmdline.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/using/cmdline.rst b/Doc/using/cmdline.rst index 516579ddeb87c7..9e149806c380f3 100644 --- a/Doc/using/cmdline.rst +++ b/Doc/using/cmdline.rst @@ -898,7 +898,7 @@ conflict. .. envvar:: PYTHONUTF8 If set to ``1``, enables the interpreter's UTF-8 mode, where ``UTF-8`` is - used as encoding for system interfaces, regardless of the + used as the text encoding for system interfaces, regardless of the current locale setting. This means that: