All Samples(4) | Call(0) | Derive(0) | Import(4)
list() -> new empty list list(iterable) -> new list initialized from iterable's items
src/s/c/scrapy-HEAD/scrapy/xlib/urlparse_monkeypatches.py scrapy(Download)
from urlparse import urlparse, uses_netloc
# workaround for http://bugs.python.org/issue7904
if urlparse('s3://bucket/key').netloc != 'bucket':
uses_netloc.append('s3')
src/s/c/Scrapy-0.10.3/scrapy/xlib/urlparse_monkeypatches.py Scrapy(Download)
from urlparse import urlparse, uses_netloc
# workaround for http://bugs.python.org/issue7904
if urlparse('s3://bucket/key').netloc != 'bucket':
uses_netloc.append('s3')
src/p/y/pyrocore-0.3.8/src/pyrocore/util/xmlrpc2scgi.py pyrocore(Download)
from pyrocore.util import os, fmt
# this allows us to parse scgi urls just like http ones
from urlparse import uses_netloc
uses_netloc.append('scgi')
del uses_netloc
src/p/y/python-rtorrentrpc-HEAD/rtorrentrpc.py python-rtorrentrpc(Download)
import xmlrpclib
# this allows us to parse scgi urls just like http ones
from urlparse import uses_netloc
uses_netloc.append('scgi')
del uses_netloc