Scrapy, a fast high-level web crawling & scraping framework for Python.
fix broken doctests
Daniel Graña5ba2b60a4b9f
diff --git a/scrapy/contrib/httpcache.py b/scrapy/contrib/httpcache.pyindex be5af1604..d952f43e8 100644--- a/scrapy/contrib/httpcache.py+++ b/scrapy/contrib/httpcache.py@@ -288,9 +288,9 @@ def parse_cachecontrol(header):http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9- >>> cachecontrol_directives('public, max-age=3600')+ >>> parse_cachecontrol('public, max-age=3600'){'public': None, 'max-age': '3600'}- >>> cachecontrol_directives('')+ >>> parse_cachecontrol(''){}"""diff --git a/scrapy/http/cookies.py b/scrapy/http/cookies.pyindex a3846dadb..8ad8de290 100644--- a/scrapy/http/cookies.py+++ b/scrapy/http/cookies.py@@ -80,7 +80,7 @@ def potential_domain_matches(domain):"""Potential domain matches for a cookie>>> potential_domain_matches('www.example.com')- ['www.example.com', 'example.com']+ ['www.example.com', 'example.com', '.www.example.com', '.example.com']"""matches = [domain]