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.
- {json_repair-0.28.2/src/json_repair.egg-info → json_repair-0.28.3}/PKG-INFO +1 -1
- {json_repair-0.28.2 → json_repair-0.28.3}/pyproject.toml +1 -1
- {json_repair-0.28.2 → json_repair-0.28.3}/src/json_repair/json_repair.py +1 -1
- {json_repair-0.28.2 → json_repair-0.28.3/src/json_repair.egg-info}/PKG-INFO +1 -1
- {json_repair-0.28.2 → json_repair-0.28.3}/LICENSE +0 -0
- {json_repair-0.28.2 → json_repair-0.28.3}/README.md +0 -0
- {json_repair-0.28.2 → json_repair-0.28.3}/setup.cfg +0 -0
- {json_repair-0.28.2 → json_repair-0.28.3}/src/json_repair/__init__.py +0 -0
- {json_repair-0.28.2 → json_repair-0.28.3}/src/json_repair/py.typed +0 -0
- {json_repair-0.28.2 → json_repair-0.28.3}/src/json_repair.egg-info/SOURCES.txt +0 -0
- {json_repair-0.28.2 → json_repair-0.28.3}/src/json_repair.egg-info/dependency_links.txt +0 -0
- {json_repair-0.28.2 → json_repair-0.28.3}/src/json_repair.egg-info/top_level.txt +0 -0
- {json_repair-0.28.2 → json_repair-0.28.3}/tests/test_coverage.py +0 -0
- {json_repair-0.28.2 → json_repair-0.28.3}/tests/test_json_repair.py +0 -0
- {json_repair-0.28.2 → json_repair-0.28.3}/tests/test_performance.py +0 -0
@@ -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.
|
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
|
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)
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|