From: Jero Bado Date: Tue, 25 May 2021 21:01:30 +0000 (+0800) Subject: Correct minor spelling typos (GH-26339) X-Git-Tag: v3.11.0a1~1030 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=add805f92160fa2afbc8186b7a93d961ad2fe156;p=thirdparty%2FPython%2Fcpython.git Correct minor spelling typos (GH-26339) surroundeded to surrounded extensins to extensions --- diff --git a/Doc/using/configure.rst b/Doc/using/configure.rst index 177f25f318bb..b1d1623a38cb 100644 --- a/Doc/using/configure.rst +++ b/Doc/using/configure.rst @@ -227,7 +227,7 @@ Effects of a debug build: * Install :ref:`debug hooks on memory allocators ` to detect buffer overflow and other memory errors. * Define ``Py_DEBUG`` and ``Py_REF_DEBUG`` macros. -* Add runtime checks: code surroundeded by ``#ifdef Py_DEBUG`` and ``#endif``. +* Add runtime checks: code surrounded by ``#ifdef Py_DEBUG`` and ``#endif``. Enable ``assert(...)`` and ``_PyObject_ASSERT(...)`` assertions: don't set the ``NDEBUG`` macro (see also the :option:`--with-assertions` configure option). Main runtime checks: @@ -550,7 +550,7 @@ Built-in modules have no ``__file__`` attribute:: File "", line 1, in AttributeError: module 'sys' has no attribute '__file__' -Other C extensins are built as dynamic libraires, like the ``_asyncio`` module. +Other C extensions are built as dynamic libraires, like the ``_asyncio`` module. They are built with the ``Py_BUILD_CORE_MODULE`` macro defined. Example on Linux x86-64::