Did I find the right examples for you? yes no

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/objspace/std/formatting.py   plexnet(Download)
String formatting routines.
from pypy.rlib.unroll import unrolling_iterable
from pypy.rlib.rarithmetic import ovfcheck, formatd_overflow, isnan, isinf
                char = chr(ord(char) + 1)     # 'f' => 'g'
                r = formatd_overflow(self.f_alt, prec, char, x)
            except OverflowError:
                raise OperationError(space.w_OverflowError, space.wrap(

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/rlib/test/test_rarithmetic.py   plexnet(Download)
    def test_formatd_overflow(self):
        from pypy.translator.c.test.test_genc import compile
        from pypy.rlib.rarithmetic import formatd_overflow
        def func(x):
            # Test the %F format, which is not supported by
            # the Microsoft's msvcrt library.
            return formatd_overflow(0, 4, 'F', x)