File: docstring_singles_function.py

package info (click to toggle)
flake8-quotes 3.4.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 300 kB
  • sloc: python: 938; sh: 28; makefile: 2
file content (23 lines) | stat: -rw-r--r-- 408 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
def foo():
    '''function without params, single line docstring'''
    ''' not a docstring'''
    return


def foo2():
    '''
        function without params, multiline docstring
    '''
    ''' not a docstring'''
    return


def fun_with_params_no_docstring(a, b='''
    not a 
''' '''docstring'''):
    pass

def fun_with_params_no_docstring2(a, b=c[foo():], c=\
    ''' not a docstring '''):
    pass