We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 982cdff commit c6ba052Copy full SHA for c6ba052
doc/sphinxext/github_link.py
@@ -40,7 +40,7 @@ def _linkcode_resolve(domain, info, package, url_fmt, revision):
40
return
41
42
class_name = info["fullname"].split(".")[0]
43
- if isinstance(class_name, str):
+ if type(class_name) != str: # noqa: E721
44
# Python 2 only
45
class_name = class_name.encode("utf-8")
46
module = __import__(info["module"], fromlist=[class_name])
0 commit comments