mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-17 04:28:12 -07:00
This fixes a bug where the installed library is not importable on python 3.10 Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
14 lines
599 B
Diff
14 lines
599 B
Diff
diff --git a/simdjson/csimdjson.pyx b/simdjson/csimdjson.pyx
|
|
index 57c5f35..91182fc 100644
|
|
--- a/simdjson/csimdjson.pyx
|
|
+++ b/simdjson/csimdjson.pyx
|
|
@@ -480,7 +480,7 @@ cdef class Parser:
|
|
# a stride in the next step will cause a (potentially
|
|
# confusing) IndexError. This isn't a very good error message,
|
|
# but it's identical to the one simdjson would have raised.
|
|
- raise ValueError('Empty: no JSON found')
|
|
+ raise ValueError('EMPTY: no JSON found')
|
|
|
|
return element_to_primitive(
|
|
self,
|