Skip to content

Commit

Permalink
oops i deleted the wrong variable
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexWaygood authored Oct 9, 2023
1 parent ead7587 commit 75c7a56
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 @@ -1845,7 +1845,7 @@ def render_function(
last_group = 0
first_optional = len(selfless)
positional = selfless and selfless[-1].is_positional_only()
new_or_init = f.kind.new_or_init
has_option_groups = False

# offset i by -1 because first_optional needs to ignore self
for i, p in enumerate(parameters, -1):
Expand Down

0 comments on commit 75c7a56

Please sign in to comment.