Skip to content

Commit 0488eca

Browse files
authored
Merge pull request #177 from aJetHorn/improve-usage-doc
Prepended cachecontrol to adapter in usage example
2 parents 75b8001 + df18d01 commit 0488eca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/usage.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Here is how the adapter works: ::
3737
import cachecontrol
3838

3939
sess = requests.Session()
40-
sess.mount('http://', CacheControlAdapter())
40+
sess.mount('http://', cachecontrol.CacheControlAdapter())
4141

4242
resp = sess.get('http://google.com')
4343

0 commit comments

Comments
 (0)