kkpyutil 1.36.2__py3-none-any.whl → 1.37.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {kkpyutil-1.36.2.dist-info → kkpyutil-1.37.0.dist-info}/METADATA +1 -1
- kkpyutil-1.37.0.dist-info/RECORD +7 -0
- kkpyutil.py +4 -0
- kkpyutil-1.36.2.dist-info/RECORD +0 -7
- {kkpyutil-1.36.2.dist-info → kkpyutil-1.37.0.dist-info}/LICENSE +0 -0
- {kkpyutil-1.36.2.dist-info → kkpyutil-1.37.0.dist-info}/WHEEL +0 -0
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
kkpyutil.py,sha256=5Y6u9Pd8xD5U7W0HgUhRnspRV5mgobg_WKG7_xACgK8,108444
|
|
2
|
+
kkpyutil_helper/windows/kkttssave.ps1,sha256=xa3-WzqNh2rGYlOx_I4ewOuCE94gkTO5cEwYH0M67_0,446
|
|
3
|
+
kkpyutil_helper/windows/kkttsspeak.ps1,sha256=7WUUHMmjTQroUWA2Mvdt4JtSt475nZUHQx-qP-7rS6o,305
|
|
4
|
+
kkpyutil-1.37.0.dist-info/LICENSE,sha256=uISevGnCxB5QOU0ftbofN75_yUtd6E2h_MWE1zqagC8,1065
|
|
5
|
+
kkpyutil-1.37.0.dist-info/METADATA,sha256=wy2EZE2TnwEctYAHNT6pq3Xde-pOArlN9ehgyl_OzwQ,1136
|
|
6
|
+
kkpyutil-1.37.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
7
|
+
kkpyutil-1.37.0.dist-info/RECORD,,
|
kkpyutil.py
CHANGED
|
@@ -1242,6 +1242,10 @@ def extract_call_args(file, caller, callee):
|
|
|
1242
1242
|
return [elem.value if isinstance(elem, ast.Constant) else None for elem in argument.elts]
|
|
1243
1243
|
elif use_type_map := isinstance(argument, ast.Attribute):
|
|
1244
1244
|
return argument.attr
|
|
1245
|
+
elif use_typed_list := isinstance(argument, ast.Subscript):
|
|
1246
|
+
coll_type = argument.value.id
|
|
1247
|
+
elem_type = argument.slice.id if coll_type.startswith('list') or coll_type.startswith('tuple') else argument.slice.dims[0].id
|
|
1248
|
+
return f'{coll_type}[{elem_type}]'
|
|
1245
1249
|
glogger.error(f'Unsupported syntax node: {argument}. Will fallback to None.')
|
|
1246
1250
|
return None
|
|
1247
1251
|
|
kkpyutil-1.36.2.dist-info/RECORD
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
kkpyutil.py,sha256=oImW-f1e1EINwHSkoW8NkGPbVVCr5rsZAvJmBoDCU1I,108149
|
|
2
|
-
kkpyutil_helper/windows/kkttssave.ps1,sha256=xa3-WzqNh2rGYlOx_I4ewOuCE94gkTO5cEwYH0M67_0,446
|
|
3
|
-
kkpyutil_helper/windows/kkttsspeak.ps1,sha256=7WUUHMmjTQroUWA2Mvdt4JtSt475nZUHQx-qP-7rS6o,305
|
|
4
|
-
kkpyutil-1.36.2.dist-info/LICENSE,sha256=uISevGnCxB5QOU0ftbofN75_yUtd6E2h_MWE1zqagC8,1065
|
|
5
|
-
kkpyutil-1.36.2.dist-info/METADATA,sha256=eheJ6IiNabKgK-uthq-wzBGFckxYbdV-97opGJq0N_k,1136
|
|
6
|
-
kkpyutil-1.36.2.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
7
|
-
kkpyutil-1.36.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|