Remove further clean_scope_docstring usages.

This commit is contained in:
Dave Halter
2017-04-26 09:52:18 +02:00
parent bea28fd33f
commit c124fc91ca
3 changed files with 14 additions and 13 deletions

View File

@@ -80,9 +80,10 @@ def _fix_forward_reference(context, node):
@memoize_default()
def infer_param(context, param):
def infer_param(execution_context, param):
annotation = param.annotation
return _evaluate_for_annotation(context, annotation)
module_context = execution_context.get_root_context()
return _evaluate_for_annotation(module_context, annotation)
def py__annotations__(funcdef):