Quick actions

cmd+k|ctrl+k

Navigation

Languages

86 - Docstrings

Snippet info

Language

Python

Visibility

public

Author

ciawash

Created

2024-04-11T09:44:17.376713Z

Updated

2024-04-11T09:44:17.376713Z

def test(a):
    '''
    Info: this function tests and prints param a
    '''
    print(a)
    
test('!!!!')    

# Another way to get the comment is by using the built-in function help:

help(test)

# Another way:

print(test.__doc__)
INFO