Skip to content

Commit cc4f6bb

Browse files
authored
Rename pos in exception message
1 parent 8cf4cf3 commit cc4f6bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src_c/display.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1470,7 +1470,7 @@ pg_set_window_position(PyObject *self, PyObject *arg)
14701470

14711471
if (pos != NULL) {
14721472
if (!pg_TwoIntsFromObj(pos, &x, &y))
1473-
return RAISE(PyExc_TypeError, "pos must be two numbers");
1473+
return RAISE(PyExc_TypeError, "position must be two numbers");
14741474
}
14751475

14761476
if (win)

0 commit comments

Comments
 (0)