forked from huawei/mindspore2022
!21025 fix the contexpr for it lack a blank in the example
Merge pull request !21025 from dinglinhe/code_docs_dlh_ms_I42TE0
This commit is contained in:
commit
acaffa9da6
|
|
@ -641,7 +641,7 @@ def constexpr(fn=None, get_instance=True, name=None):
|
|||
>>> def tuple_len_class(x):
|
||||
... return len(x)
|
||||
...
|
||||
>>>tuple_len_class()(a)
|
||||
>>> tuple_len_class()(a)
|
||||
2
|
||||
"""
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue