@@ -477,48 +477,48 @@ def test_sphinx_str():
477
477
478
478
:Parameters:
479
479
480
- mean : (N,) ndarray
480
+ ** mean** : (N,) ndarray
481
481
Mean of the N-dimensional distribution.
482
482
483
483
.. math::
484
484
485
485
(1+2+3)/3
486
486
487
- cov : (N, N) ndarray
487
+ ** cov** : (N, N) ndarray
488
488
Covariance matrix of the distribution.
489
489
490
- shape : tuple of ints
490
+ ** shape** : tuple of ints
491
491
Given a shape of, for example, (m,n,k), m*n*k samples are
492
492
generated, and packed in an m-by-n-by-k arrangement. Because
493
493
each sample is N-dimensional, the output shape is (m,n,k,N).
494
494
495
495
:Returns:
496
496
497
- out : ndarray
497
+ ** out** : ndarray
498
498
The drawn samples, arranged according to `shape`. If the
499
499
shape given is (m,n,...), then the shape of `out` is is
500
500
(m,n,...,N).
501
501
502
502
In other words, each entry ``out[i,j,...,:]`` is an N-dimensional
503
503
value drawn from the distribution.
504
504
505
- list of str
505
+ ** list of str**
506
506
This is not a real return value. It exists to test
507
507
anonymous return values.
508
508
509
509
:Other Parameters:
510
510
511
- spam : parrot
511
+ ** spam** : parrot
512
512
A parrot off its mortal coil.
513
513
514
514
:Raises:
515
515
516
- RuntimeError
516
+ ** RuntimeError**
517
517
Some error
518
518
519
519
:Warns:
520
520
521
- RuntimeWarning
521
+ ** RuntimeWarning**
522
522
Some warning
523
523
524
524
.. warning::
@@ -586,13 +586,13 @@ def test_sphinx_yields_str():
586
586
587
587
:Yields:
588
588
589
- a : int
589
+ **a** : int
590
590
The number of apples.
591
591
592
- b : int
592
+ **b** : int
593
593
The number of bananas.
594
594
595
- int
595
+ ** int**
596
596
The number of unknowns.
597
597
""" )
598
598
@@ -1119,10 +1119,10 @@ def no_period(self):
1119
1119
1120
1120
:Parameters:
1121
1121
1122
- f : callable ``f(t, y, *f_args)``
1122
+ **f** : callable ``f(t, y, *f_args)``
1123
1123
Aaa.
1124
1124
1125
- jac : callable ``jac(t, y, *jac_args)``
1125
+ ** jac** : callable ``jac(t, y, *jac_args)``
1126
1126
Bbb.
1127
1127
1128
1128
.. rubric:: Examples
@@ -1131,10 +1131,10 @@ def no_period(self):
1131
1131
1132
1132
:Attributes:
1133
1133
1134
- t : float
1134
+ **t** : float
1135
1135
Current time.
1136
1136
1137
- y : ndarray
1137
+ **y** : ndarray
1138
1138
Current variable values.
1139
1139
1140
1140
* hello
@@ -1143,10 +1143,10 @@ def no_period(self):
1143
1143
:obj:`an_attribute <an_attribute>` : float
1144
1144
Test attribute
1145
1145
1146
- no_docstring : str
1146
+ ** no_docstring** : str
1147
1147
But a description
1148
1148
1149
- no_docstring2 : str
1149
+ ** no_docstring2** : str
1150
1150
1151
1151
:obj:`multiline_sentence <multiline_sentence>`
1152
1152
This is a sentence.
@@ -1179,10 +1179,10 @@ def test_templated_sections():
1179
1179
1180
1180
:Parameters:
1181
1181
1182
- f : callable ``f(t, y, *f_args)``
1182
+ **f** : callable ``f(t, y, *f_args)``
1183
1183
Aaa.
1184
1184
1185
- jac : callable ``jac(t, y, *jac_args)``
1185
+ ** jac** : callable ``jac(t, y, *jac_args)``
1186
1186
Bbb.
1187
1187
1188
1188
""" )
0 commit comments