Skip to content

Commit

Permalink
fix signature of repr()
Browse files Browse the repository at this point in the history
  • Loading branch information
JelleZijlstra committed Sep 25, 2024
1 parent 6f62d20 commit 3d62706
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Objects/typevarobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ constevaluator_clear(PyObject *self)
}

static PyObject *
constevaluator_repr(PyObject *self, PyObject *repr)
constevaluator_repr(PyObject *self)
{
PyObject *value = ((constevaluatorobject *)self)->value;
return PyUnicode_FromFormat("<constevaluator %R>", value);
Expand Down

0 comments on commit 3d62706

Please sign in to comment.