summaryrefslogtreecommitdiff
path: root/astroid/protocols.py
diff options
context:
space:
mode:
authorAshley Whetter <ashley@awhetter.co.uk>2017-10-15 21:25:40 -0700
committerAshley Whetter <AWhetter@users.noreply.github.com>2017-11-05 12:18:24 -0800
commit206b4f4494e4ac4f5fe98a85381c63da24901970 (patch)
treef6e5b7ae989dc1d5b9224f3fd33071f4c941f5be /astroid/protocols.py
parentd86cbd38b9e614948796c4121f1c43cb44bdb0a8 (diff)
downloadastroid-git-206b4f4494e4ac4f5fe98a85381c63da24901970.tar.gz
Public facing node documentation
Diffstat (limited to 'astroid/protocols.py')
-rw-r--r--astroid/protocols.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/astroid/protocols.py b/astroid/protocols.py
index f19a9f41..d7a38f58 100644
--- a/astroid/protocols.py
+++ b/astroid/protocols.py
@@ -484,6 +484,7 @@ def with_assigned_stmts(self, node=None, context=None, asspath=None):
return 42
with ContextManager() as f:
pass
+
# ContextManager().infer() will return ContextManager
# f.infer() will return 42.