Skip to content

Commit 380ad24

Browse files
committed
Minor relcenter typo renames
1 parent c1b19b1 commit 380ad24

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src_c/rect_impl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2836,7 +2836,7 @@ RectExport_getcenter(RectObject *self, void *closure)
28362836
self->r.y + (self->r.h / 2));
28372837
}
28382838

2839-
/*center*/
2839+
/*relcenter*/
28402840
static PyObject *
28412841
RectExport_getrelcenter(RectObject *self, void *closure)
28422842
{

test/rect_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ def test_relcenter__invalid_value(self):
579579
r.relcenter = value
580580

581581
def test_relcenter__del(self):
582-
"""Ensures the center attribute can't be deleted."""
582+
"""Ensures the relcenter attribute can't be deleted."""
583583
r = Rect(0, 0, 1, 1)
584584

585585
with self.assertRaises(AttributeError):

0 commit comments

Comments
 (0)