Fix warning in docs creation relating to scope provider.

This commit is contained in:
Jennifer Taylor 2019-09-30 13:16:09 -07:00 committed by Jennifer Taylor
parent e2868f703b
commit 90ec997687

View file

@ -693,7 +693,7 @@ class ScopeVisitor(cst.CSTVisitor):
class ScopeProvider(BatchableMetadataProvider[Optional[Scope]]):
"""
ScopeProvider traverses the entire module and creates the scope inheritance
:class:`ScopeProvider` traverses the entire module and creates the scope inheritance
structure. It provides the scope of name assignment and accesses. It is useful for
more advanced static analysis. E.g. given a :class:`~libcst.FunctionDef`
node, we can check the type of its Scope to figure out whether it is a class method