Home
last modified time | relevance | path

Searched refs:unctrl (Results 1 – 11 of 11) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_curses.py261 curses.unctrl('a')
443 unctrl = curses.ascii.unctrl
444 self.assertEqual(unctrl('a'), 'a')
445 self.assertEqual(unctrl('A'), 'A')
446 self.assertEqual(unctrl(';'), ';')
447 self.assertEqual(unctrl(' '), ' ')
448 self.assertEqual(unctrl('\x7f'), '^?')
449 self.assertEqual(unctrl('\n'), '^J')
450 self.assertEqual(unctrl('\0'), '^@')
451 self.assertEqual(unctrl(ord('A')), 'A')
[all …]
/external/python/cpython3/Lib/test/
Dtest_curses.py272 curses.unctrl('a')
547 unctrl = curses.ascii.unctrl
548 self.assertEqual(unctrl('a'), 'a')
549 self.assertEqual(unctrl('A'), 'A')
550 self.assertEqual(unctrl(';'), ';')
551 self.assertEqual(unctrl(' '), ' ')
552 self.assertEqual(unctrl('\x7f'), '^?')
553 self.assertEqual(unctrl('\n'), '^J')
554 self.assertEqual(unctrl('\0'), '^@')
555 self.assertEqual(unctrl(ord('A')), 'A')
[all …]
/external/python/cpython2/Lib/curses/
Dascii.py89 def unctrl(c): function
/external/python/cpython3/Lib/curses/
Dascii.py89 def unctrl(c): function
/external/python/cpython2/Doc/library/
Dcurses.ascii.rst213 .. function:: unctrl(c)
Dcurses.rst589 .. function:: unctrl(ch)
/external/python/cpython3/Doc/library/
Dcurses.ascii.rst214 .. function:: unctrl(c)
Dcurses.rst600 .. function:: unctrl(ch)
/external/python/cffi/demo/
D_curses.py1056 def unctrl(ch): function
1058 return lib.unctrl(_chtype(ch))
/external/python/cpython3/Modules/
D_cursesmodule.c4150 return PyBytes_FromString(unctrl(ch_)); in _curses_unctrl()
/external/python/cpython2/Modules/
D_cursesmodule.c2618 return PyString_FromString(unctrl(ch)); in PyCurses_UnCtrl()