CodeQL library for Python
codeql/python-all 0.11.13 (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: