commit | f3fd733f928752c9e35f8f5141a54cd21c0993b5 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@haypocalc.com> | Wed Mar 02 01:03:11 2011 +0000 |
committer | Victor Stinner <victor.stinner@haypocalc.com> | Wed Mar 02 01:03:11 2011 +0000 |
tree | e5ed83eca223ac5ee8a0e836dc8ee8206f89f688 | |
parent | 6f58b6b50445be3cbebf592680bab928c4311a89 [diff] [blame] |
Remove useless argument of _PyUnicode_AsDefaultEncodedString()
diff --git a/Modules/_dbmmodule.c b/Modules/_dbmmodule.c index 827acce..69a7112 100644 --- a/Modules/_dbmmodule.c +++ b/Modules/_dbmmodule.c
@@ -219,7 +219,7 @@ return -1; } if (PyUnicode_Check(arg)) { - arg = _PyUnicode_AsDefaultEncodedString(arg, NULL); + arg = _PyUnicode_AsDefaultEncodedString(arg); if (arg == NULL) return -1; }