Skip to content

Commit afdc1f5

Browse files
author
Moritz-Alexander-Kern
committed
undo returns for tuples
1 parent 812ed39 commit afdc1f5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

neo/core/container.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -240,16 +240,16 @@ def _container_child_containers(self):
240240
Containers for child objects that are a container and
241241
have a single parent.
242242
"""
243-
return tuple((_container_name(child) for child in
244-
self._container_child_objects))
243+
return tuple([_container_name(child) for child in
244+
self._container_child_objects])
245245

246246
@property
247247
def _data_child_containers(self):
248248
"""
249249
Containers for child objects that have data and have a single parent.
250250
"""
251-
return tuple((_container_name(child) for child in
252-
self._data_child_objects))
251+
return tuple([_container_name(child) for child in
252+
self._data_child_objects])
253253

254254
@property
255255
def _child_containers(self):

0 commit comments

Comments
 (0)