mirror of
https://github.com/python/cpython.git
synced 2025-07-08 03:45:36 +00:00
Patch for issue 2848, mostly by Humberto Diogenes, with a couple of
small fixes by Barry. This removes mimetools from the stdlib.
This commit is contained in:
parent
75f25f2c9a
commit
820c120059
23 changed files with 146 additions and 202 deletions
|
@ -25,7 +25,6 @@ import time
|
|||
import base64
|
||||
import random
|
||||
import socket
|
||||
import urllib
|
||||
import warnings
|
||||
from io import StringIO
|
||||
|
||||
|
@ -235,6 +234,7 @@ def decode_params(params):
|
|||
|
||||
params is a sequence of 2-tuples containing (param name, string value).
|
||||
"""
|
||||
import urllib
|
||||
# Copy params so we don't mess with the original
|
||||
params = params[:]
|
||||
new_params = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue