Skip to content

Commit 63adaf6

Browse files
authored
expect rename to expected
1 parent c50d7a2 commit 63adaf6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Objects/longobject.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -773,7 +773,7 @@ int
773773
PyLong_IsPositive(PyObject *obj)
774774
{
775775
if (!PyLong_Check(obj)) {
776-
PyErr_Format(PyExc_TypeError, "expect int, got %T", obj);
776+
PyErr_Format(PyExc_TypeError, "expected int, got %T", obj);
777777
return -1;
778778
}
779779
return _PyLong_IsPositive((PyLongObject *)obj);
@@ -783,7 +783,7 @@ int
783783
PyLong_IsNegative(PyObject *obj)
784784
{
785785
if (!PyLong_Check(obj)) {
786-
PyErr_Format(PyExc_TypeError, "expect int, got %T", obj);
786+
PyErr_Format(PyExc_TypeError, "expected int, got %T", obj);
787787
return -1;
788788
}
789789
return _PyLong_IsNegative((PyLongObject *)obj);
@@ -793,7 +793,7 @@ int
793793
PyLong_IsZero(PyObject *obj)
794794
{
795795
if (!PyLong_Check(obj)) {
796-
PyErr_Format(PyExc_TypeError, "expect int, got %T", obj);
796+
PyErr_Format(PyExc_TypeError, "expected int, got %T", obj);
797797
return -1;
798798
}
799799
return _PyLong_IsZero((PyLongObject *)obj);

0 commit comments

Comments
 (0)