Skip to content

Commit eba1674

Browse files
committed
fix space docs
1 parent e431bda commit eba1674

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pymunk/space.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,8 @@ def spacefree(cp_space: ffi.CData) -> None:
152152
def shapes(self) -> KeysView[Shape]:
153153
"""The shapes added to this space returned as a KeysView.
154154
155-
Since its a view that is returned it will update as shapes are added::
155+
Since its a view that is returned it will update as shapes are
156+
added.
156157
157158
>>> import pymunk
158159
>>> s = pymunk.Space()
@@ -171,8 +172,7 @@ def bodies(self) -> KeysView[Body]:
171172
"""The bodies added to this space returned as a KeysView.
172173
173174
This includes both static and non-static bodies added to the Space.
174-
175-
Since its a view that is returned it will update as bodies are added::
175+
Since its a view that is returned it will update as bodies are added:
176176
177177
>>> import pymunk
178178
>>> s = pymunk.Space()

0 commit comments

Comments
 (0)