Skip to content

Commit

Permalink
Add __firstlineno__ to _RESERVED_ATTRIBUTE_NAMES (#324)
Browse files Browse the repository at this point in the history
  • Loading branch information
catchyzheng authored Jun 11, 2024
1 parent 019b1ea commit e221bea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apitools/base/protorpclite/messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def __str__(self):
# Attributes that are reserved by a class definition that
# may not be used by either Enum or Message class definitions.
_RESERVED_ATTRIBUTE_NAMES = frozenset(
['__module__', '__doc__', '__qualname__', '__static_attributes__'])
['__module__', '__doc__', '__qualname__', '__static_attributes__', '__firstlineno__'])

_POST_INIT_FIELD_ATTRIBUTE_NAMES = frozenset(
['name',
Expand Down

0 comments on commit e221bea

Please sign in to comment.