parameters: (grammar)
return_statement: return _typing_module
docstring: The idea is to return our jedi replacement for the PEP-0484 typing module
      as discussed at https://github.com/davidhalter/jedi/issues/663
docstring_summary: The idea is to return our jedi replacement for the PEP-0484 typing module
      as discussed at https://github.com/davidhalter/jedi/issues/663
docstring_tokens: The idea is to return our jedi replacement for the PEP - 0484 typing module as discussed at https : // github . com / davidhalter / jedi / issues / 663
function: def _get_typing_replacement_module(grammar):
      """
      The idea is to return our jedi replacement for the PEP-0484 typing module
      as discussed at https://github.com/davidhalter/jedi/issues/663
      """
      global _typing_module
      if _typing_module is None:
          typing_path = \
              os.path.abspath(os.path.join(__file__, "../jedi_typing.py"))
          with open(typing_path) as f:
              code = _compatibility.unicode(f.read())
          _typing_module = grammar.parse(code)
      return _typing_module
function_tokens: def _get_typing_replacement_module ( grammar ) : global _typing_module if _typing_module is None : typing_path = os . path . abspath ( os . path . join ( __file__ , "../jedi_typing.py" ) ) with open ( typing_path ) as f : code = _compatibility . unicode ( f . read ( ) ) _typing_module = grammar . parse ( code ) return _typing_module