| 1 |
--- a/issue15.py |
| 2 |
+++ b/issue15.py |
| 3 |
@@ -1,22 +1,24 @@ |
| 4 |
def func(param1=True, param2='default val'): |
| 5 |
- '''Description of func with docstring groups style. |
| 6 |
+ """Description of func with docstring groups style. |
| 7 |
|
| 8 |
- Params: |
| 9 |
- param1 - descr of param1 that has True for default value. |
| 10 |
- param2 - descr of param2 |
| 11 |
+ :param param1: descr of param1 that has True for default value |
| 12 |
+ :param param2: descr of param2 (Default value = 'default val') |
| 13 |
+ :returns: some value |
| 14 |
+ :raises keyError: raises key exception |
| 15 |
+ :raises TypeError: raises type exception |
| 16 |
|
| 17 |
- Returns: |
| 18 |
- some value |
| 19 |
- |
| 20 |
- Raises: |
| 21 |
- keyError: raises key exception |
| 22 |
- TypeError: raises type exception |
| 23 |
- |
| 24 |
- ''' |
| 25 |
+ """ |
| 26 |
pass |
| 27 |
|
| 28 |
class A: |
| 29 |
+ """ """ |
| 30 |
def method(self, param1, param2=None): |
| 31 |
+ """ |
| 32 |
+ |
| 33 |
+ :param param1: |
| 34 |
+ :param param2: (Default value = None) |
| 35 |
+ |
| 36 |
+ """ |
| 37 |
pass |
| 38 |
|
| 39 |
if __name__ == "__main__": |