mirror of
https://github.com/Instagram/LibCST.git
synced 2025-12-23 10:35:53 +00:00
Fix warning in docs creation relating to scope provider.
This commit is contained in:
parent
e2868f703b
commit
90ec997687
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue