Skip to content

Commit

Permalink
Update Tools/clinic/clinic.py
Browse files Browse the repository at this point in the history
Co-authored-by: Alex Waygood <[email protected]>
  • Loading branch information
erlend-aasland and AlexWaygood authored Dec 19, 2023
1 parent 528adc2 commit e0a3f6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tools/clinic/clinic.py
Original file line number Diff line number Diff line change
Expand Up @@ -5616,7 +5616,7 @@ def state_modulename_name(self, line: str) -> None:

if self.kind in {GETTER, SETTER}:
if not cls:
fail("@getter and @setter must be class methods")
fail("@getter and @setter must be methods")

self.update_function_kind(full_name)
if self.kind is METHOD_INIT and not return_converter:
Expand Down

0 comments on commit e0a3f6a

Please sign in to comment.