Skip to content

Commit c6ba052

Browse files
committed
iter
1 parent 982cdff commit c6ba052

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/sphinxext/github_link.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def _linkcode_resolve(domain, info, package, url_fmt, revision):
4040
return
4141

4242
class_name = info["fullname"].split(".")[0]
43-
if isinstance(class_name, str):
43+
if type(class_name) != str: # noqa: E721
4444
# Python 2 only
4545
class_name = class_name.encode("utf-8")
4646
module = __import__(info["module"], fromlist=[class_name])

0 commit comments

Comments
 (0)