E5F6 Merge pull request #57 from wolever/patch-1 · github3py/urllib3@56ab40d · GitHub
[go: up one dir, main page]

Skip to content

Commit 56ab40d

Browse files
committed
Merge pull request urllib3#57 from wolever/patch-1
Fixing bugs in `PoolManager`'s docstring
2 parents 5b1a8b7 + 70b1cdf commit 56ab40d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

urllib3/poolmanager.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ class PoolManager(RequestMethods):
3939
4040
Example: ::
4141
42-
>>> manager = PoolManager()
42+
>>> manager = PoolManager(num_pools=2)
4343
>>> r = manager.urlopen("http://google.com/")
4444
>>> r = manager.urlopen("http://google.com/mail")
4545
>>> r = manager.urlopen("http://yahoo.com/")
46-
>>> len(r.pools)
46+
>>> len(manager.pools)
4747
2
4848
4949
"""

0 commit comments

Comments
 (0)
0