summaryrefslogtreecommitdiff
path: root/astroid/protocols.py
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2018-10-11 08:23:29 +0200
committerClaudiu Popa <pcmanticore@gmail.com>2018-10-11 08:23:29 +0200
commit274fce8a1adbd83866f0fb1b3c1d3d365cd2d1e7 (patch)
treeafc24c64c89e7a120b01b847d4bd136c48614d76 /astroid/protocols.py
parent833456da38a982e75a9523d21c42a225675e5a18 (diff)
downloadastroid-git-274fce8a1adbd83866f0fb1b3c1d3d365cd2d1e7.tar.gz
Update some leftover docstrings
Diffstat (limited to 'astroid/protocols.py')
-rw-r--r--astroid/protocols.py14
1 files changed, 9 insertions, 5 deletions
diff --git a/astroid/protocols.py b/astroid/protocols.py
index 0776f146..22abba74 100644
--- a/astroid/protocols.py
+++ b/astroid/protocols.py
@@ -529,8 +529,10 @@ def with_assigned_stmts(self, node=None, context=None, assign_path=None):
Arguments:
self: nodes.With
node: The target of the assignment, `as (a, b)` in `with foo as (a, b)`.
- context: TODO
- assign_path: TODO
+ context: Inference context used for caching already inferred objects
+ assign_path:
+ A list of indices, where each index specifies what item to fetch from
+ the inference results.
"""
try:
mgr = next(mgr for (mgr, vars) in self.items if vars == node)
@@ -582,9 +584,11 @@ def starred_assigned_stmts(self, node=None, context=None, assign_path=None):
"""
Arguments:
self: nodes.Starred
- node: TODO
- context: TODO
- assign_path: TODO
+ node: a node related to the current underlying Node.
+ context: Inference context used for caching already inferred objects
+ assign_path:
+ A list of indices, where each index specifies what item to fetch from
+ the inference results.
"""
# pylint: disable=too-many-locals,too-many-branches,too-many-statements
def _determine_starred_iteration_lookups(starred, target, lookups):