Show More
@@ -211,13 +211,13 b' class Component(HasTraitlets):' | |||||
211 | return self._children |
|
211 | return self._children | |
212 |
|
212 | |||
213 | def _remove_child(self, child): |
|
213 | def _remove_child(self, child): | |
214 |
"""A private method for removing children componen |
|
214 | """A private method for removing children components.""" | |
215 | if child in self._children: |
|
215 | if child in self._children: | |
216 | index = self._children.index(child) |
|
216 | index = self._children.index(child) | |
217 | del self._children[index] |
|
217 | del self._children[index] | |
218 |
|
218 | |||
219 | def _add_child(self, child): |
|
219 | def _add_child(self, child): | |
220 |
"""A private method for adding children componen |
|
220 | """A private method for adding children components.""" | |
221 | if child not in self._children: |
|
221 | if child not in self._children: | |
222 | self._children.append(child) |
|
222 | self._children.append(child) | |
223 |
|
223 |
General Comments 0
You need to be logged in to leave comments.
Login now