Skip to content
GitLab
Explore
Projects
Groups
Snippets
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
2 years ago
by
BO ZHANG
Browse files
Options
Download
Email Patches
Plain Diff
updated example
parent
0184c5ce
dev
main
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
examples/how_to_write_docstring.py
+4
-0
examples/how_to_write_docstring.py
with
4 additions
and
0 deletions
+4
-0
examples/how_to_write_docstring.py
+
4
-
0
View file @
2889bd83
...
...
@@ -30,5 +30,9 @@ def cos(x: float = 0.):
--------
>>> import numpy as np
>>> cos(np.pi)
Notes
-----
this function is a warpper of `numpy.cos()`
"""
return
np
.
cos
(
x
)
This diff is collapsed.
Click to expand it.
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
Menu
Explore
Projects
Groups
Snippets