python中print(.doc)和print(.init.doc)分别是什么?
print(print.__doc__)
Prints the values to a stream, or to sys.stdout by default.
Optional keyword arguments:
file: a file-like object (stream); defaults to the current sys.stdout.
sep: string inserted between values, default a space.
end: string appended after the last value, default a newline.
flush: whether to forcibly flush the stream.
print(print.__init__.__doc__)
Initialize self. See help(type(self)) for accurate signature.