Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
tfpf committed Dec 27, 2024
1 parent e7a431c commit 1e5349a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pysorteddict/pysorteddict.cc
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ int SortedDictType::setitem(PyObject* key, PyObject* value)
static PyTypeObject* allowed_key_types[] = {
&PyLong_Type,
};
PyTypeObject* key_type = reinterpret_cast<PyObject*>(Py_TYPE(key));
PyObject* key_type = reinterpret_cast<PyObject*>(Py_TYPE(key));
for (auto allowed_key_type : allowed_key_types)
{
if (PyObject_RichCompareBool(reinterpret_cast<PyObject*>(allowed_key_type), key_type, Py_EQ) == 1)
Expand Down

0 comments on commit 1e5349a

Please sign in to comment.