Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
csst-pipeline
csst_proto
Commits
2889bd83
Commit
2889bd83
authored
Aug 23, 2022
by
BO ZHANG
🏀
Browse files
updated example
parent
0184c5ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
examples/how_to_write_docstring.py
View file @
2889bd83
...
@@ -30,5 +30,9 @@ def cos(x: float = 0.):
...
@@ -30,5 +30,9 @@ def cos(x: float = 0.):
--------
--------
>>> import numpy as np
>>> import numpy as np
>>> cos(np.pi)
>>> cos(np.pi)
Notes
-----
this function is a warpper of `numpy.cos()`
"""
"""
return
np
.
cos
(
x
)
return
np
.
cos
(
x
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment