pyccel.parser.utilities module#
This file contains different utilities for the Parser.
- pyccel.parser.utilities.get_default_path(name)[source]#
Get the full path to the Pyccel description of the imported library.
This function takes the name of an import source. If the imported library is in stdlib, it returns the full Python path to the stdlib equivalent library. Otherwise the original name is returned. This equivalent library should be a header file which describes all the functions which are supported by Pyccel.
- Parameters:
name (PyccelSymbol | DottedName) – The name of the source file for the import.
- Returns:
The name of the Pyccel-compatible source file for the import.
- Return type: