Source

pypy / lib_pypy / __init__.py

Full commit
1
2
3
4
5
6
7
# This __init__.py shows up in PyPy's app-level standard library.
# Let's try to prevent that confusion.
# Without this check, you would be able to do 'import __init__' from a pypy
# prompt

if __name__ != 'lib_pypy':
    raise ImportError, '__init__'