Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
corona10 committed Nov 18, 2023
1 parent d2e19bd commit 2679803
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Tools/clinic/clinic.py
Original file line number Diff line number Diff line change
Expand Up @@ -1929,8 +1929,7 @@ def render_function(
template_dict['docstring'] = self.docstring_for_c_string(f)

template_dict['self_name'] = template_dict['self_type'] = template_dict['self_type_check'] = ''
if f.target_critical_section is not None:
template_dict['target_critical_section'] = ','.join(f.target_critical_section)
template_dict['target_critical_section'] = ','.join(f.target_critical_section)
for converter in converters:
converter.set_template_dict(template_dict)

Expand Down

0 comments on commit 2679803

Please sign in to comment.