Skip to content

Commit 55dcfae

Browse files
committed
docstring
1 parent 7ef3e4d commit 55dcfae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/compas/scene/sceneobject.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,7 @@ def contrastcolor(self, color):
278278
self._contrastcolor = Color.coerce(color)
279279

280280
def add(self, item, **kwargs):
281+
# type: (compas.data.Data, dict) -> compas.scene.SceneObject
281282
"""Add a child item to the scene object.
282283
283284
Parameters
@@ -292,7 +293,6 @@ def add(self, item, **kwargs):
292293
:class:`compas.scene.SceneObject`
293294
The added scene object.
294295
"""
295-
# type: (compas.data.Data, dict) -> compas.scene.SceneObject
296296
return self.scene.add(item, parent=self, **kwargs)
297297

298298
def remove(self):

0 commit comments

Comments
 (0)