Skip to content

Commit 59a5251

Browse files
committed
Improve docs for collision_type #277
1 parent df54445 commit 59a5251

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pymunk/shapes.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,9 @@ def sensor(self, is_sensor: bool) -> None:
130130
def collision_type(self) -> int:
131131
"""User defined collision type for the shape.
132132
133-
See :py:meth:`Space.add_collision_handler` function for more
133+
Defaults to 0.
134+
135+
See the :py:meth:`Space.add_collision_handler` function for more
134136
information on when to use this property.
135137
"""
136138
return cp.cpShapeGetCollisionType(self._shape)

0 commit comments

Comments
 (0)