Did I find the right examples for you? yes no

All Samples(5)  |  Call(0)  |  Derive(0)  |  Import(5)
Minimal '_curses' module, the low-level interface for curses module
which is not meant to be used directly.

Based on ctypes.  It's too incomplete to be really called '_curses', so
to use it, you have to import it and stick it in sys.modules['_curses']
manually.

Note that there is also a built-in module _minimal_curses which will
hide this one if compiled in.

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/module/_minimal_curses/__init__.py   plexnet(Download)
try:
    import _curses
except ImportError:
    import _minimal_curses as _curses   # when running on top of pypy-c
 

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/lib/pyrepl/curses.py   plexnet(Download)
except ImportError:
    try:
        import _minimal_curses as _curses
    except ImportError:
        # Who knows, maybe some environment has "curses" but not "_curses".

src/s/y/Sypy-HEAD/module/_minimal_curses/__init__.py   Sypy(Download)
try:
    import _curses
except ImportError:
    try:
        import _minimal_curses as _curses   # when running on top of pypy-c

src/s/y/Sypy-HEAD/tool/terminal.py   Sypy(Download)
        # this is not really the whole curses, but our _minimal_curses it's
        # better than nothing
        import _minimal_curses as curses
        # a bit of a hack: we have tigetstr but not tigetnum, so we call
        # default() to have default values, then setup() will overwrite the

src/p/y/pyrepl-HEAD/pyrepl/curses.py   pyrepl(Download)
except ImportError:
    try:
        import _minimal_curses as _curses
    except ImportError:
        # Who knows, maybe some environment has "curses" but not "_curses".