CodeQL library for Python
codeql/python-all 0.6.4 (changelog, source)
Search

Module Comment

Provides classes representing comments in Python.

Import path

import semmle.python.Comment

Imports

Classes

Comment

A source code comment

CommentBlock

A block of consecutive comments

TypeHintComment

A type-hint comment. Any comment that starts with # type: