Skip to content

Commit

Permalink
mypyc: fix syntax (#8789)
Browse files Browse the repository at this point in the history
Co-authored-by: hauntsaninja <>
  • Loading branch information
hauntsaninja authored May 8, 2020
1 parent 2d06ba7 commit 22e504b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mypyc/lib-rt/CPy.h
Original file line number Diff line number Diff line change
Expand Up @@ -1399,7 +1399,7 @@ static PyObject *CPyDict_ItemsView(PyObject *dict) {
}

static PyObject *CPyDict_Keys(PyObject *dict) {
if PyDict_CheckExact(dict) {
if (PyDict_CheckExact(dict)) {
return PyDict_Keys(dict);
}
// Inline generic fallback logic to also return a list.
Expand All @@ -1418,7 +1418,7 @@ static PyObject *CPyDict_Keys(PyObject *dict) {
}

static PyObject *CPyDict_Values(PyObject *dict) {
if PyDict_CheckExact(dict) {
if (PyDict_CheckExact(dict)) {
return PyDict_Values(dict);
}
// Inline generic fallback logic to also return a list.
Expand All @@ -1437,7 +1437,7 @@ static PyObject *CPyDict_Values(PyObject *dict) {
}

static PyObject *CPyDict_Items(PyObject *dict) {
if PyDict_CheckExact(dict) {
if (PyDict_CheckExact(dict)) {
return PyDict_Items(dict);
}
// Inline generic fallback logic to also return a list.
Expand Down

0 comments on commit 22e504b

Please sign in to comment.