[Python-checkins] cpython: compile doesn't accept code objects

philip.jenvey python-checkins at python.org
Fri Dec 14 00:44:31 CET 2012


http://hg.python.org/cpython/rev/76bc92fb90c1
changeset: 80841:76bc92fb90c1
user: Philip Jenvey <pjenvey at underboss.org>
date: Thu Dec 13 15:44:18 2012 -0800
summary:
 compile doesn't accept code objects
files:
 Python/bltinmodule.c | 2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -657,7 +657,7 @@
 goto finally;
 }
 
- str = source_as_string(cmd, "compile", "string, bytes, AST or code", &cf);
+ str = source_as_string(cmd, "compile", "string, bytes or AST", &cf);
 if (str == NULL)
 goto error;
 
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /