PyDocs

Nav

Python Runtime Services

getcomments

inspect

function (source)
  • getcomments(object)
Get lines of comments immediately preceding an object's source code.

Returns None when source can't be found.
0 Examples
No examples for inspect/getcomments.
See Also
No see-alsos for inspect/getcomments
0 Notes
No notes for getcomments