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 bda6377 commit 6f5f7feCopy full SHA for 6f5f7fe
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 matches[0]
+ return next(matches)
92
93
class VersionList(Directive):
94
""" Custom directive to generate the version list from an environment variable """
0 commit comments