Home
last modified time | relevance | path

Searched refs:globalns (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython3/Lib/
Dtyping.py255 def _eval_type(t, globalns, localns): argument
260 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): argument
456 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 = localns
462 localns = globalns
[all …]
/external/python/cpython3/Misc/NEWS.d/
D3.6.3rc1.rst260 typing.get_type_hints now finds the right globalns for classes and modules
261 by default (when no ``globalns`` was specified by the caller).
D3.7.0a1.rst1549 typing.get_type_hints now finds the right globalns for classes and modules
1550 by default (when no ``globalns`` was specified by the caller).