Skip to content

Commit 22e504b

Browse files
authored
mypyc: fix syntax (python#8789)
Co-authored-by: hauntsaninja <>
1 parent 2d06ba7 commit 22e504b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mypyc/lib-rt/CPy.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1399,7 +1399,7 @@ static PyObject *CPyDict_ItemsView(PyObject *dict) {
13991399
}
14001400

14011401
static PyObject *CPyDict_Keys(PyObject *dict) {
1402-
if PyDict_CheckExact(dict) {
1402+
if (PyDict_CheckExact(dict)) {
14031403
return PyDict_Keys(dict);
14041404
}
14051405
// Inline generic fallback logic to also return a list.
@@ -1418,7 +1418,7 @@ static PyObject *CPyDict_Keys(PyObject *dict) {
14181418
}
14191419

14201420
static PyObject *CPyDict_Values(PyObject *dict) {
1421-
if PyDict_CheckExact(dict) {
1421+
if (PyDict_CheckExact(dict)) {
14221422
return PyDict_Values(dict);
14231423
}
14241424
// Inline generic fallback logic to also return a list.
@@ -1437,7 +1437,7 @@ static PyObject *CPyDict_Values(PyObject *dict) {
14371437
}
14381438

14391439
static PyObject *CPyDict_Items(PyObject *dict) {
1440-
if PyDict_CheckExact(dict) {
1440+
if (PyDict_CheckExact(dict)) {
14411441
return PyDict_Items(dict);
14421442
}
14431443
// Inline generic fallback logic to also return a list.

0 commit comments

Comments
 (0)