Skip to content

Commit

Permalink
confnames: align to trailing underscore
Browse files Browse the repository at this point in the history
  • Loading branch information
mara004 committed Feb 1, 2024
1 parent d49deac commit b5f75d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ctypesgen/expressions.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def __init__(self, op, format, base, attribute):
# Fortunately, the processor module does the same thing to
# the struct member name.
if self.attribute in keyword.kwlist:
self.attribute = "_" + self.attribute
self.attribute += "_"

def visit(self, visitor):
self.base.visit(visitor)
Expand Down

0 comments on commit b5f75d5

Please sign in to comment.