Searched refs:globalns (Results 1 – 3 of 3) sorted by relevance
255 def _eval_type(t, globalns, localns): argument260 return t._evaluate(globalns, localns)262 ev_args = tuple(_eval_type(a, globalns, localns) for a in t.__args__)455 def _evaluate(self, globalns, localns): argument456 if not self.__forward_evaluated__ or localns is not globalns:457 if globalns is None and localns is None:458 globalns = localns = {}459 elif globalns is None:460 globalns = localns462 localns = globalns[all …]
260 typing.get_type_hints now finds the right globalns for classes and modules261 by default (when no ``globalns`` was specified by the caller).
1549 typing.get_type_hints now finds the right globalns for classes and modules1550 by default (when no ``globalns`` was specified by the caller).