MCPcopy Create free account
hub / github.com/PyCQA/flake8 / delete_first_token

Method delete_first_token

src/flake8/processor.py:156–158  ·  view source on GitHub ↗

Delete the first token in the list of tokens.

(self)

Source from the content-addressed store, hash-verified

154 self.blank_before = 0
155
156 def delete_first_token(self) -> None:
157 """Delete the first token in the list of tokens."""
158 del self.tokens[0]
159
160 def visited_new_blank_line(self) -> None:
161 """Note that we visited a new blank line."""

Callers 1

handle_newlineMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected