json-repair 0.28.2__tar.gz → 0.28.3__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: json_repair
3
- Version: 0.28.2
3
+ Version: 0.28.3
4
4
  Summary: A package to repair broken json strings
5
5
  Author-email: Stefano Baccianella <4247706+mangiucugna@users.noreply.github.com>
6
6
  License: MIT License
@@ -3,7 +3,7 @@ requires = ["setuptools>=61.0"]
3
3
  build-backend = "setuptools.build_meta"
4
4
  [project]
5
5
  name = "json_repair"
6
- version = "0.28.2"
6
+ version = "0.28.3"
7
7
  license = {file = "LICENSE"}
8
8
  authors = [
9
9
  { name="Stefano Baccianella", email="4247706+mangiucugna@users.noreply.github.com" },
@@ -33,7 +33,7 @@ class StringFileWrapper:
33
33
  self.fd = fd
34
34
  self.length: int = 0
35
35
 
36
- def __getitem__(self, index: int | slice) -> str:
36
+ def __getitem__(self, index: Union[int, slice]) -> str:
37
37
  if isinstance(index, slice):
38
38
  self.fd.seek(index.start)
39
39
  value = self.fd.read(index.stop - index.start)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: json_repair
3
- Version: 0.28.2
3
+ Version: 0.28.3
4
4
  Summary: A package to repair broken json strings
5
5
  Author-email: Stefano Baccianella <4247706+mangiucugna@users.noreply.github.com>
6
6
  License: MIT License
File without changes
File without changes
File without changes