diff --git a/Doc/distutils/apiref.rst b/Doc/distutils/apiref.rst index 3990c0756dd..28af893648b 100644 --- a/Doc/distutils/apiref.rst +++ b/Doc/distutils/apiref.rst @@ -1815,7 +1815,7 @@ Subclasses of :class:`Command` must define the following methods. .. module:: distutils.command.bdist_msi :synopsis: Build a binary distribution as a Windows MSI file -.. class:: bdist_msi(Command) +.. class:: bdist_msi Builds a `Windows Installer`_ (.msi) binary package. diff --git a/Modules/threadmodule.c b/Modules/threadmodule.c index 79e6babcd19..4e41085ed92 100644 --- a/Modules/threadmodule.c +++ b/Modules/threadmodule.c @@ -715,7 +715,7 @@ thread_PyThread_exit_thread(PyObject *self) PyDoc_STRVAR(exit_doc, "exit()\n\ -(PyThread_exit_thread() is an obsolete synonym)\n\ +(exit_thread() is an obsolete synonym)\n\ \n\ This is synonymous to ``raise SystemExit''. It will cause the current\n\ thread to exit silently unless the exception is caught.");