diff options
| author | Christian Heimes <christian@cheimes.de> | 2008-05-26 13:28:38 +0000 |
|---|---|---|
| committer | Christian Heimes <christian@cheimes.de> | 2008-05-26 13:28:38 +0000 |
| commit | 72b710a59617ebe6dd1c41613d2c7eb81702efd9 (patch) | |
| tree | cd134cc11c49ba09f50e44a9f36b69f2b0ffc893 /PC/msvcrtmodule.c | |
| parent | 9c4756ea265b5ebd71c9ae59f3673c7cecb6f060 (diff) | |
| download | cpython-git-72b710a59617ebe6dd1c41613d2c7eb81702efd9.tar.gz | |
Renamed PyString to PyBytes
Diffstat (limited to 'PC/msvcrtmodule.c')
| -rwxr-xr-x | PC/msvcrtmodule.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/PC/msvcrtmodule.c b/PC/msvcrtmodule.c index eeee99f1c0..aeab3b6d2f 100755 --- a/PC/msvcrtmodule.c +++ b/PC/msvcrtmodule.c @@ -142,7 +142,7 @@ msvcrt_getch(PyObject *self, PyObject *args) ch = _getch(); Py_END_ALLOW_THREADS s[0] = ch; - return PyString_FromStringAndSize(s, 1); + return PyBytes_FromStringAndSize(s, 1); } #if _MSC_VER >= 1300 @@ -176,7 +176,7 @@ msvcrt_getche(PyObject *self, PyObject *args) ch = _getche(); Py_END_ALLOW_THREADS s[0] = ch; - return PyString_FromStringAndSize(s, 1); + return PyBytes_FromStringAndSize(s, 1); } #if _MSC_VER >= 1300 |
