File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -39,23 +39,23 @@ PEP 257 is the primary reference for docstrings. (http://www.python.org/dev/peps
39
39
|One-line docstrings: ::
40
40
41
41
def kos_root():
42
- """Return the pathname of the KOS root directory."""
43
- global _kos_root
44
- if _kos_root: return _kos_root
45
- ...
42
+ """Return the pathname of the KOS root directory."""
43
+ global _kos_root
44
+ if _kos_root: return _kos_root
45
+ ...
46
46
47
47
Multi-line docstrings: ::
48
48
49
49
def complex(real=0.0, imag=0.0):
50
- """Form a complex number.
50
+ """Form a complex number.
51
51
52
- Keyword arguments:
53
- real -- the real part (default 0.0)
54
- imag -- the imaginary part (default 0.0)
52
+ Keyword arguments:
53
+ real -- the real part (default 0.0)
54
+ imag -- the imaginary part (default 0.0)
55
55
56
- """
57
- if imag == 0.0 and real == 0.0: return complex_zero
58
- ...
56
+ """
57
+ if imag == 0.0 and real == 0.0: return complex_zero
58
+ ...
59
59
60
60
Sphinx
61
61
------
You can’t perform that action at this time.
0 commit comments