fix broken doctests

This commit is contained in:
Daniel Graña 2013-04-25 11:56:56 -03:00
parent 32b781a1b8
commit 5ba2b60a4b
2 changed files with 3 additions and 3 deletions

View File

@ -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('')
{}
"""

View File

@ -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]