class_docstr: Very basic type inference.
  
  Note: in order to support cross-closure type inference, this must be
  applies to nested scopes in top-down order.
class_docstr_tok: ["Very","basic","type","inference",".","Note",":","in","order","to","support","cross-closure","type","inference",",","this","must","be","applies","to","nested","scopes","in","top-down","order","."]
code: def set_entry_type(self, entry, entry_type):
      entry.type = entry_type
      for e in entry.all_entries():
          e.type = entry_type
  
imports: from __future__ import absolute_import
  from .Errors import error, message
  from .None import ExprNodes
  from .None import Nodes
  from .None import Builtin
  from .None import PyrexTypes
  from ..None import Utils
  from .PyrexTypes import py_object_type, unspecified_type
  from .Visitor import CythonTransform, EnvTransform
label_desc: Use image node_id 1 for calling the SimpleAssignmentTypeInferer obj's underlying member method code with example usage: obj.set_entry_type(entry, entry_type) without return types