summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2008-06-01 08:19:02 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2008-06-01 08:19:02 (GMT)
commit6495c8da8f945def4749192b0536c1678f208664 (patch)
tree19fe60131e2c9611561d6cad653148ebfc7c0fc1 /Python
parentb12d8579e362bb33c54db5ae4db94c88e68f0304 (diff)
downloadcpython-6495c8da8f945def4749192b0536c1678f208664.zip
cpython-6495c8da8f945def4749192b0536c1678f208664.tar.gz
cpython-6495c8da8f945def4749192b0536c1678f208664.tar.bz2
Typo: encoding -> codeset.
Diffstat (limited to 'Python')
-rw-r--r--Python/pythonrun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index aefef06..26557ca 100644
--- a/Python/pythonrun.c
+++ b/Python/pythonrun.c
@@ -301,7 +301,7 @@ Py_InitializeEx(int install_sigs)
#ifdef MS_WINDOWS
if (!overridden) {
icodeset = ibuf;
- encoding = buf;
+ codeset = buf;
sprintf(ibuf, "cp%d", GetConsoleCP());
sprintf(buf, "cp%d", GetConsoleOutputCP());
}