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 3e6ee9a commit c4e0c27Copy full SHA for c4e0c27
build/sphinx/mongoc_common.py
@@ -88,7 +88,7 @@ def find_node(doctree, klass):
88
if not matches:
89
raise IndexError("No %s in %s" % (klass, doctree))
90
91
- return next(matches)
+ return matches[0]
92
93
class VersionList(Directive):
94
""" Custom directive to generate the version list from an environment variable """
0 commit comments