summaryrefslogtreecommitdiff
path: root/Python/compile.c
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2011-03-31 13:59:52 -0700
committerRaymond Hettinger <python@rcn.com>2011-03-31 13:59:52 -0700
commitd5ce71786a2851c4abc1ab9c80ab36cc39020723 (patch)
tree720a41b1787661f68f707cda7d61ac785ae3e1eb /Python/compile.c
parent50beeaddfcfb07654466431ab9605267707fbe06 (diff)
parentd2b0fe9b2b6abb9b60c0206526ef6f7f2c6b9236 (diff)
downloadcpython-d5ce71786a2851c4abc1ab9c80ab36cc39020723.tar.gz
Fix markup and wording.
Diffstat (limited to 'Python/compile.c')
-rw-r--r--Python/compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/compile.c b/Python/compile.c
index 1d6e38c22e..53f5a12cc3 100644
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -3026,7 +3026,7 @@ expr_constant(struct compiler *c, expr_ty e)
case Name_kind:
/* optimize away names that can't be reassigned */
id = PyBytes_AS_STRING(
- _PyUnicode_AsDefaultEncodedString(e->v.Name.id, NULL));
+ _PyUnicode_AsDefaultEncodedString(e->v.Name.id));
if (strcmp(id, "True") == 0) return 1;
if (strcmp(id, "False") == 0) return 0;
if (strcmp(id, "None") == 0) return 0;