summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2010-08-18 22:23:22 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2010-08-18 22:23:22 (GMT)
commit398356baaa60b1e46ce45ec7b8ae8ac28ca53091 (patch)
tree3db53918af906f39b003f6cce1999154e5464999 /Modules
parent7e44b6b0c5c5a8078ae2ae2f86d6d948c9ebf3e4 (diff)
downloadcpython-398356baaa60b1e46ce45ec7b8ae8ac28ca53091.zip
cpython-398356baaa60b1e46ce45ec7b8ae8ac28ca53091.tar.gz
cpython-398356baaa60b1e46ce45ec7b8ae8ac28ca53091.tar.bz2
Improve error message if the command is not decodable
Diffstat (limited to 'Modules')
-rw-r--r--Modules/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/main.c b/Modules/main.c
index d129aba..a5c8905 100644
--- a/Modules/main.c
+++ b/Modules/main.c
@@ -275,6 +275,7 @@ run_command(wchar_t *command, PyCompilerFlags *cf)
return ret != 0;
error:
+ PySys_WriteStderr("Unable to decode the command from the command line:\n");
PyErr_Print();
return 1;
}