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

All Samples(168)  |  Call(168)  |  Derive(0)  |  Import(0)

src/s/a/sage-HEAD/src/sage/combinat/root_system/cartan_type.py   sage(Download)
            if "x" in t:
                import type_reducible
                return type_reducible.CartanType([CartanType(u) for u in t.split("x")])
            elif t[-1] == "*":
                return CartanType(t[:-1]).dual()

src/p/y/python-with-braces-HEAD/Lib/logging/config.py   python-with-braces(Download)
    # configure the root first
    llist = cp.get("loggers", "keys")
    llist = llist.split(",")
    llist = list(map(lambda x: x.strip(), llist))
    llist.remove("root")

src/c/a/canape-HEAD/CANAPE.Scripting/Lib/logging/config.py   canape(Download)
    # configure the root first
    llist = cp.get("loggers", "keys")
    llist = llist.split(",")
    llist = list(map(lambda x: x.strip(), llist))
    llist.remove("root")

src/m/i/MissionPlanner-HEAD/Lib/logging/config.py   MissionPlanner(Download)
    # configure the root first
    llist = cp.get("loggers", "keys")
    llist = llist.split(",")
    llist = list(map(lambda x: x.strip(), llist))
    llist.remove("root")

src/d/i/distribute-0.7.3/setuptools/command/egg_info.py   distribute(Download)

src/h/e/heroku-buildpack-python-HEAD/vendor/pip-1.5.4/pip/vcs/subversion.py   heroku-buildpack-python(Download)
        f.close()
        if data.startswith('8') or data.startswith('9') or data.startswith('10'):
            data = list(map(str.splitlines, data.split('\n\x0c\n')))
            del data[0][0]  # get rid of the '8'
            url = data[0][3]

src/z/e/ZenPacks.zenoss.OpenStack-HEAD/src/pip-1.4.1/pip/vcs/subversion.py   ZenPacks.zenoss.OpenStack(Download)
        f.close()
        if data.startswith('8') or data.startswith('9') or data.startswith('10'):
            data = list(map(str.splitlines, data.split('\n\x0c\n')))
            del data[0][0]  # get rid of the '8'
            url = data[0][3]

src/z/o/zope.traversing-4.0.0/src/zope/traversing/adapters.py   zope.traversing(Download)
 
        if isinstance(path, six.string_types):
            path = path.split('/')
            if len(path) > 1 and not path[-1]:
                # Remove trailing slash

src/c/a/calibre-HEAD/src/calibre/linux.py   calibre(Download)
    def __enter__(self):
        def_data_dirs = '/usr/local/share:/usr/share'
        paths = os.environ.get('XDG_DATA_DIRS', def_data_dirs)
        paths = paths.split(':')
        paths.append(os.environ.get('XDG_DATA_HOME', os.path.expanduser(

src/p/i/pip-1.5.4/pip/vcs/subversion.py   pip(Download)
        f.close()
        if data.startswith('8') or data.startswith('9') or data.startswith('10'):
            data = list(map(str.splitlines, data.split('\n\x0c\n')))
            del data[0][0]  # get rid of the '8'
            url = data[0][3]

Previous  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next