From bd43665581851be37db3afb4b48fa57cf570d4ff Mon Sep 17 00:00:00 2001 From: Brian E <72316548+Brian-ED@users.noreply.github.com> Date: Thu, 23 Jul 2026 21:33:00 +0200 Subject: [PATCH] cffi typo: comment in _preprocess --- src/cffi/cparser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cffi/cparser.py b/src/cffi/cparser.py index 1896b7ef..28f60ca0 100644 --- a/src/cffi/cparser.py +++ b/src/cffi/cparser.py @@ -190,7 +190,7 @@ def _preprocess(csource): # First, remove the lines of the form '#line N "filename"' because # the "filename" part could confuse the rest csource, line_directives = _remove_line_directives(csource) - # Remove comments. NOTE: this only work because the cdef() section + # Remove comments. NOTE: this only works because the cdef() section # should not contain any string literals (except in line directives)! def replace_keeping_newlines(m): return ' ' + m.group().count('\n') * '\n'