Skip to content

Commit

Permalink
Linting fixup: add trailing comma
Browse files Browse the repository at this point in the history
  • Loading branch information
jayaddison committed Apr 10, 2023
1 parent 2a98dfb commit 50c5288
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sphinx/util/inspect.py
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ def object_description(object: Any) -> str:
elif isinstance(object, tuple):
return "(%s%s)" % (
", ".join(object_description(x) for x in object),
"," if len(object) == 1 else ""
"," if len(object) == 1 else "",
)
elif isinstance(object, list):
return "[%s]" % ", ".join(object_description(x) for x in object)
Expand Down

0 comments on commit 50c5288

Please sign in to comment.