summaryrefslogtreecommitdiffstats
path: root/Objects/exceptions.c
diff options
context:
space:
mode:
authorLarry Hastings <larry@hastings.org>2014-02-10 11:43:57 (GMT)
committerLarry Hastings <larry@hastings.org>2014-02-10 11:43:57 (GMT)
commit8f9f0f12e845034080525c6a80d52215533cb2a4 (patch)
treee582640185a4d455abc59b397503d5a029d66dce /Objects/exceptions.c
parent1c143b19c88021e323d4a88315efc8879b1c631d (diff)
downloadcpython-8f9f0f12e845034080525c6a80d52215533cb2a4.zip
cpython-8f9f0f12e845034080525c6a80d52215533cb2a4.tar.gz
cpython-8f9f0f12e845034080525c6a80d52215533cb2a4.tar.bz2
Issue #20517: Removed unnecessary new (short-lived) functions from PyErr.
Diffstat (limited to 'Objects/exceptions.c')
-rw-r--r--Objects/exceptions.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/exceptions.c b/Objects/exceptions.c
index 11dcaec..44e60dd 100644
--- a/Objects/exceptions.c
+++ b/Objects/exceptions.c
@@ -726,8 +726,8 @@ ComplexExtendsException(PyExc_Exception, ImportError,
* when it was supplied.
*
* (If a function has two filenames, such as rename(), symlink(),
- * or copy(), PyErr_SetFromErrnoWithFilenames() is called, which
- * allows passing in a second filename.)
+ * or copy(), PyErr_SetFromErrnoWithFilenameObjects() is called,
+ * which allows passing in a second filename.)
*/
/* This function doesn't cleanup on error, the caller should */