From 3e70aa9e03795590a9bb45036800c8c767bbf7ce Mon Sep 17 00:00:00 2001 From: Mister Lobster Date: Sun, 3 May 2026 17:38:45 -0400 Subject: [PATCH] docs: fix outdated urllib2 reference to urllib Python 3 uses urllib instead of urllib2. Updated the documentation to reflect the correct module name. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ea26bd8d3..ab1ba4ce0 100644 --- a/README.md +++ b/README.md @@ -127,7 +127,7 @@ client = StripeClient("sk_test_...", http_client=stripe.UrllibClient()) ``` Without a configured client, by default the library will attempt to load -libraries in the order above (i.e. `urlfetch` is preferred with `urllib2` used +libraries in the order above (i.e. `urlfetch` is preferred with `urllib` used as a last resort). We usually recommend that people use `requests`. ### Configuring a Proxy