From 90ec997687432cd386702955267e4e92d444ab76 Mon Sep 17 00:00:00 2001 From: Jennifer Taylor Date: Mon, 30 Sep 2019 13:16:09 -0700 Subject: [PATCH] Fix warning in docs creation relating to scope provider. --- libcst/metadata/scope_provider.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcst/metadata/scope_provider.py b/libcst/metadata/scope_provider.py index ce8748a2..9ec0b8af 100644 --- a/libcst/metadata/scope_provider.py +++ b/libcst/metadata/scope_provider.py @@ -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