These are function docstring s, to define them when writing a function, simply add a multi-line string to the start of the function
def function():
'''This function does nothing'''
pass
To access the docstring, use function.__doc__
or help(function)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.