Return a newly created |data.Category| object having *label* and appended to the end of the sub-category sequence for this category.
(self, label)
| 520 | self._sub_categories = [] |
| 521 | |
| 522 | def add_sub_category(self, label): |
| 523 | """ |
| 524 | Return a newly created |data.Category| object having *label* and |
| 525 | appended to the end of the sub-category sequence for this category. |
| 526 | """ |
| 527 | category = Category(label, self) |
| 528 | self._sub_categories.append(category) |
| 529 | return category |
| 530 | |
| 531 | @property |
| 532 | def depth(self): |