File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -423,9 +423,9 @@ def SDL_GET_NAME(i):
423
423
if not rst or description is not None : definitions += f"{ ' ' * 4 } \" \" \" \n "
424
424
if description is not None : definitions += f" { description } \n "
425
425
if not rst : definitions += f"\n { ' ' * 4 } https://wiki.libsdl.org/{ module } /{ func } \n "
426
- if not rst or description is not None : definitions += f"{ ' ' * 4 } \" \" \" \n "
427
- if not rst : definitions += f"{ ' ' * 4 } return raw.{ func } ({ ', ' .join (arguments )} )"
428
- if rst and description is None : definitions += f"{ ' ' * 4 } ..."
426
+ if not rst or description is not None : definitions += f"{ ' ' * 4 } \" \" \" "
427
+ if not rst : definitions += f"\n { ' ' * 4 } return raw.{ func } ({ ', ' .join (arguments )} )"
428
+ elif description is None : definitions += f"\n { ' ' * 4 } ..."
429
429
430
430
if _index != len (__module__ .functions [module ]) - 1 :
431
431
definitions += "\n \n "
You can’t perform that action at this time.
0 commit comments