Skip to content
Prev Previous commit
Next Next commit
nit
  • Loading branch information
corona10 committed Dec 19, 2023
commit 18d178672d683da3a86add397ae695413dd57f78
2 changes: 1 addition & 1 deletion Tools/clinic/clinic.py
Original file line number Diff line number Diff line change
Expand Up @@ -6453,7 +6453,7 @@ def format_docstring(self) -> str:
f = self.function
k = f.kind
if (k.new_or_init or k in {GETTER, SETTER}) and not f.docstring:
# If the following methods have a empty docstring,
# If following cases have a empty docstring,
# Do not render a docstring at all, no signature, nothing.
# 1. __init__ / __new__
# 2. @getter / @setter properties
Expand Down