Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
nit
  • Loading branch information
corona10 committed Nov 18, 2023
commit 26798034100a223d0b00af8091d4cb4575651373
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