[Python-checkins] Fix typo in _warnings.warn_explicit() docstring (GH-16625)

Miss Islington (bot) webhook-mailer at python.org
Tue Oct 8 05:26:05 EDT 2019


https://github.com/python/cpython/commit/13bc1523a7423e643d070b147596373578e2ed7e
commit: 13bc1523a7423e643d070b147596373578e2ed7e
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2019-10-08T02:25:56-07:00
summary:

Fix typo in _warnings.warn_explicit() docstring (GH-16625)

(cherry picked from commit 5dfbb4d50333e7a91fc0cd8c03a2f2f2cf56dbd9)

Co-authored-by: Hansraj Das <raj.das.136 at gmail.com>

files:
M Python/_warnings.c

diff --git a/Python/_warnings.c b/Python/_warnings.c
index 80dca65fd353f..e86a582a01cf4 100644
--- a/Python/_warnings.c
+++ b/Python/_warnings.c
@@ -1213,7 +1213,7 @@ _PyErr_WarnUnawaitedCoroutine(PyObject *coro)
 }
 
 PyDoc_STRVAR(warn_explicit_doc,
-"Low-level inferface to warnings functionality.");
+"Low-level interface to warnings functionality.");
 
 static PyMethodDef warnings_functions[] = {
     WARNINGS_WARN_METHODDEF



More information about the Python-checkins mailing list