Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(20)  |  Call(10)  |  Derive(0)  |  Import(10)
xrange(stop) -> xrange object
xrange(start, stop[, step]) -> xrange object

Like range(), but instead of returning a list, returns an object that
generates the numbers in the range on demand.  For looping, this is 
slightly faster than range() and more memory efficient.

src/f/j/fjord-HEAD/vendor/packages/Babel/babel/messages/mofile.py   fjord(Download)
 
from babel.messages.catalog import Catalog, Message
from babel._compat import range_type
 
 
    # Now put all messages from the .mo file buffer into the catalog
    # dictionary
    for i in range_type(0, msgcount):
        mlen, moff = unpack(ii, buf[origidx:origidx + 8])
        mend = moff + mlen

src/m/i/microblog-HEAD/flask/lib/python2.7/site-packages/babel/messages/mofile.py   microblog(Download)
 
from babel.messages.catalog import Catalog, Message
from babel._compat import range_type
 
 
    # Now put all messages from the .mo file buffer into the catalog
    # dictionary
    for i in range_type(0, msgcount):
        mlen, moff = unpack(ii, buf[origidx:origidx + 8])
        mend = moff + mlen

src/p/r/proofofexistence-HEAD/babel/messages/mofile.py   proofofexistence(Download)
 
from babel.messages.catalog import Catalog, Message
from babel._compat import range_type, array_tobytes
 
 
    # Now put all messages from the .mo file buffer into the catalog
    # dictionary
    for i in range_type(0, msgcount):
        mlen, moff = unpack(ii, buf[origidx:origidx + 8])
        mend = moff + mlen

src/f/j/fjord-HEAD/vendor/packages/Babel/babel/numbers.py   fjord(Download)
 
from babel.core import default_locale, Locale
from babel._compat import range_type
 
 
    elif digits[i] == '5':     # previous digit is even
        # We round up unless all following digits are zero.
        for j in range_type(i + 1, len(digits)):
            if digits[j] != '0':
                add = 1

src/z/e/ZenPacks.zenoss.OpenStack-HEAD/src/Babel-1.3/babel/messages/mofile.py   ZenPacks.zenoss.OpenStack(Download)
 
from babel.messages.catalog import Catalog, Message
from babel._compat import range_type
 
 
    # Now put all messages from the .mo file buffer into the catalog
    # dictionary
    for i in range_type(0, msgcount):
        mlen, moff = unpack(ii, buf[origidx:origidx + 8])
        mend = moff + mlen

src/m/i/microblog-HEAD/flask/lib/python2.7/site-packages/babel/numbers.py   microblog(Download)
 
from babel.core import default_locale, Locale
from babel._compat import range_type
 
 
    elif digits[i] == '5':     # previous digit is even
        # We round up unless all following digits are zero.
        for j in range_type(i + 1, len(digits)):
            if digits[j] != '0':
                add = 1

src/z/e/ZenPacks.zenoss.OpenStack-HEAD/src/Babel-1.3/babel/numbers.py   ZenPacks.zenoss.OpenStack(Download)
 
from babel.core import default_locale, Locale
from babel._compat import range_type
 
 
    elif digits[i] == '5':     # previous digit is even
        # We round up unless all following digits are zero.
        for j in range_type(i + 1, len(digits)):
            if digits[j] != '0':
                add = 1

src/b/a/Babel-1.3/babel/messages/mofile.py   Babel(Download)
 
from babel.messages.catalog import Catalog, Message
from babel._compat import range_type
 
 
    # Now put all messages from the .mo file buffer into the catalog
    # dictionary
    for i in range_type(0, msgcount):
        mlen, moff = unpack(ii, buf[origidx:origidx + 8])
        mend = moff + mlen

src/b/a/Babel-1.3/babel/numbers.py   Babel(Download)
 
from babel.core import default_locale, Locale
from babel._compat import range_type
 
 
    elif digits[i] == '5':     # previous digit is even
        # We round up unless all following digits are zero.
        for j in range_type(i + 1, len(digits)):
            if digits[j] != '0':
                add = 1

src/p/r/proofofexistence-HEAD/babel/numbers.py   proofofexistence(Download)
 
from babel.core import default_locale, Locale, get_global
from babel._compat import range_type
 
 
    elif digits[i] == '5':     # previous digit is even
        # We round up unless all following digits are zero.
        for j in range_type(i + 1, len(digits)):
            if digits[j] != '0':
                add = 1