We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a92c420 commit 0cfec8cCopy full SHA for 0cfec8c
Objects/dictobject.c
@@ -2502,9 +2502,7 @@ static PyObject *
2502
dict_keys(PyDictObject *mp)
2503
{
2504
PyObject *v;
2505
- Py_ssize_t i, j;
2506
- Py_ssize_t n, key_offset, value_offset;
2507
- PyObject **key_ptr, **value_ptr;
+ Py_ssize_t n;
2508
2509
again:
2510
n = mp->ma_used;
@@ -2568,7 +2566,7 @@ static PyObject *
2568
2566
dict_items(PyDictObject *mp)
2569
2567
2570
2571
- Py_ssize_t i, j, n;
+ Py_ssize_t i, n;
2572
PyObject *item;
2573
2574
/* Preallocate the list of tuples, to avoid allocations during
0 commit comments