Searched refs:_parse_num (Results 1 – 3 of 3) sorted by relevance
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_optparse.py | 25 from optparse import _parse_num 1586 _parse_num, ("", int), {}, 1590 _parse_num, ("0xOoops", long), {}, 1595 self.assertEqual(_parse_num("0", int), 0) 1596 self.assertEqual(_parse_num("0x10", int), 16) 1597 self.assertEqual(_parse_num("0XA", long), 10L) 1598 self.assertEqual(_parse_num("010", long), 8L) 1599 self.assertEqual(_parse_num("0b11", int), 3) 1600 self.assertEqual(_parse_num("0b", long), 0L)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
D | optparse.py | 400 def _parse_num(val, type): function 414 return _parse_num(val, int) 417 return _parse_num(val, long)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | optparse.py | 399 def _parse_num(val, type): function 413 return _parse_num(val, int) 416 return _parse_num(val, long)
|