kopia lustrzana https://github.com/micropython/micropython-lib
urllib.parse: No tracebacks in uPy.
rodzic
71c844f018
commit
f5a9ad2d61
|
@ -757,9 +757,9 @@ def urlencode(query, doseq=False, safe='', encoding=None, errors=None):
|
||||||
# allowed empty dicts that type of behavior probably should be
|
# allowed empty dicts that type of behavior probably should be
|
||||||
# preserved for consistency
|
# preserved for consistency
|
||||||
except TypeError:
|
except TypeError:
|
||||||
ty, va, tb = sys.exc_info()
|
# ty, va, tb = sys.exc_info()
|
||||||
raise TypeError("not a valid non-string sequence "
|
raise TypeError("not a valid non-string sequence "
|
||||||
"or mapping object").with_traceback(tb)
|
"or mapping object")#.with_traceback(tb)
|
||||||
|
|
||||||
l = []
|
l = []
|
||||||
if not doseq:
|
if not doseq:
|
||||||
|
|
Ładowanie…
Reference in New Issue