Where is import defined in the source code?
Lawrence D’Oliveiro
lawrencedo99 at gmail.com
Thu Sep 22 04:52:42 EDT 2016
On Thursday, September 22, 2016 at 4:14:16 PM UTC+12, Peng Yu wrote:
>
> ... I want know where import is defined in the source code.
This <https://github.com/python/cpython/blob/master/Python/import.c> looks like the code, and this <https://github.com/python/cpython/blob/master/Python/Python-ast.c> where it hooks into the parsing.
Just a guess...
More information about the Python-list
mailing list