提交 4c0622e5 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!1884 annotate CellList supports methods and binary ops supports different dtype

Merge pull request !1884 from zhangbuxue/annotate_CellList_supports_methods
......@@ -150,8 +150,9 @@ class CellList(_CellListBase, Cell):
"""
Holds Cells in a list.
CellList can be indexed like a regular Python list, but cells it
contains are properly registered, and will be visible by all Cell methods.
CellList can be used like a regular Python list, support
'__getitem__', '__setitem__', '__delitem__', '__len__', '__iter__' and '__iadd__',
but cells it contains are properly registered, and will be visible by all Cell methods.
Args:
args (list, optional): List of subclass of Cell.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册