summaryrefslogtreecommitdiffstats
path: root/Python/bltinmodule.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-03-02 01:03:11 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-03-02 01:03:11 (GMT)
commitf3fd733f928752c9e35f8f5141a54cd21c0993b5 (patch)
treee5ed83eca223ac5ee8a0e836dc8ee8206f89f688 /Python/bltinmodule.c
parent6f58b6b50445be3cbebf592680bab928c4311a89 (diff)
downloadcpython-f3fd733f928752c9e35f8f5141a54cd21c0993b5.zip
cpython-f3fd733f928752c9e35f8f5141a54cd21c0993b5.tar.gz
cpython-f3fd733f928752c9e35f8f5141a54cd21c0993b5.tar.bz2
Remove useless argument of _PyUnicode_AsDefaultEncodedString()
Diffstat (limited to 'Python/bltinmodule.c')
-rw-r--r--Python/bltinmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
index c6bb16c..ca40cb0 100644
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -511,7 +511,7 @@ source_as_string(PyObject *cmd, char *funcname, char *what, PyCompilerFlags *cf)
if (PyUnicode_Check(cmd)) {
cf->cf_flags |= PyCF_IGNORE_COOKIE;
- cmd = _PyUnicode_AsDefaultEncodedString(cmd, NULL);
+ cmd = _PyUnicode_AsDefaultEncodedString(cmd);
if (cmd == NULL)
return NULL;
}