Mercurial > cpython-lru_cache-weakref
comparison Python/bltinmodule.c @ 13446:23f9689ace50 legacy-trunk
Get rid of unused vars in builtin_unicode (they were causing
legit warnings).
| author | Tim Peters <tim.peters@gmail.com> |
|---|---|
| date | Sun, 09 Jul 2000 02:11:18 +0000 |
| parents | 7fbdb581838f |
| children | a89f7f268de4 |
comparison
equal
deleted
inserted
replaced
| 13445:091ca6b9348f | 13446:23f9689ace50 |
|---|---|
| 146 builtin_unicode(self, args) | 146 builtin_unicode(self, args) |
| 147 PyObject *self; | 147 PyObject *self; |
| 148 PyObject *args; | 148 PyObject *args; |
| 149 { | 149 { |
| 150 PyObject *v; | 150 PyObject *v; |
| 151 const void *buffer; | |
| 152 int len; | |
| 153 char *encoding = NULL; | 151 char *encoding = NULL; |
| 154 char *errors = NULL; | 152 char *errors = NULL; |
| 155 | 153 |
| 156 if ( !PyArg_ParseTuple(args, "O|ss:unicode", &v, &encoding, &errors) ) | 154 if ( !PyArg_ParseTuple(args, "O|ss:unicode", &v, &encoding, &errors) ) |
| 157 return NULL; | 155 return NULL; |
