24 lines
408 B
Python
24 lines
408 B
Python
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
|
|
|