summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Modules/_elementtree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_elementtree.c b/Modules/_elementtree.c
index 7e01352..f45893f 100644
--- a/Modules/_elementtree.c
+++ b/Modules/_elementtree.c
@@ -2998,9 +2998,9 @@ expat_start_ns_handler(XMLParserObject* self, const XML_Char* prefix,
PyObject* suri = NULL;
if (uri)
- suri = PyUnicode_DecodeUTF8(uri, strlen(uri), "strict");
+ suri = PyUnicode_DecodeUTF8(uri, strlen(uri), "strict");
else
- suri = PyUnicode_FromString("");
+ suri = PyUnicode_FromString("");
if (!suri)
return;