summaryrefslogtreecommitdiff
path: root/sphinx/util/inspect.py
diff options
context:
space:
mode:
authorJean-François B <2589111+jfbu@users.noreply.github.com>2022-06-30 14:26:11 +0200
committerJean-François B <2589111+jfbu@users.noreply.github.com>2022-06-30 15:00:16 +0200
commit80198e82aa9174802cb1eb30d69ce7fe98e24399 (patch)
treeaa85c68296bd662543ccbcb17cc55e367e85c3c3 /sphinx/util/inspect.py
parentac0fc4b7817389fb8b860d82537f69d9060aabae (diff)
parentb9736f23484b16feef86208ab00dd947c54446ba (diff)
downloadsphinx-git-80198e82aa9174802cb1eb30d69ce7fe98e24399.tar.gz
Merge branch '5.x' into master
Resolved merge conflicts: sphinx/ext/extlinks.py sphinx/ext/napoleon/docstring.py (and removed from the latter a now unused import for flake8 F401 compliance)
Diffstat (limited to 'sphinx/util/inspect.py')
-rw-r--r--sphinx/util/inspect.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/util/inspect.py b/sphinx/util/inspect.py
index 3d89a4f6e..6a0f5f2b0 100644
--- a/sphinx/util/inspect.py
+++ b/sphinx/util/inspect.py
@@ -106,7 +106,7 @@ def getmro(obj: Any) -> Tuple[Type, ...]:
if isinstance(__mro__, tuple):
return __mro__
else:
- return tuple()
+ return ()
def getorigbases(obj: Any) -> Optional[Tuple[Any, ...]]: