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
3e19abcb
Commit
3e19abcb
authored
Aug 25, 2022
by
BO ZHANG
🏀
Browse files
tweaks
parent
5680f4c8
Pipeline
#68
passed with stages
in 11 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
examples/how_to_write_docstring.py
View file @
3e19abcb
...
...
@@ -14,17 +14,17 @@ def _cos(x):
# a function with a complete docstring
def
cos
(
x
:
float
=
0.
):
def
cos
(
x
:
float
=
0.
)
->
float
:
""" cosine function
Parameters
----------
x :
x :
float
x values
Returns
-------
cos(x)
cos(x)
: float
Examples
--------
...
...
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