forked from mindspore-Ecosystem/mindspore
fix the contexpr for it lack a blank in the example
This commit is contained in:
parent
18872a6475
commit
290085b26e
|
@ -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