mirror of
https://github.com/erg-lang/erg.git
synced 2025-08-04 10:49:54 +00:00
fix(pylyzer): declarations in control flow blocks
This commit is contained in:
parent
ebd7707f77
commit
9f435706a1
2 changed files with 143 additions and 5 deletions
|
@ -1,7 +1,59 @@
|
|||
.dump: (obj: Obj, fp: FileLike!) -> Str
|
||||
.dumps: (obj: Obj,) -> Str
|
||||
.load: (fp: File!,) -> Obj
|
||||
.loads: (s: Str,) -> Obj
|
||||
.dump: (
|
||||
obj: Obj,
|
||||
fp: FileLike!,
|
||||
skipkeys := Bool,
|
||||
ensure_ascii := Bool,
|
||||
check_circular := Bool,
|
||||
allow_nan := Bool,
|
||||
cls := Type,
|
||||
indent := Int,
|
||||
separators := Iterable(Str),
|
||||
default := GenericCallable,
|
||||
sort_keys := Bool,
|
||||
**kw: Obj,
|
||||
) -> Str
|
||||
.dumps: (
|
||||
obj: Obj,
|
||||
skipkeys := Bool,
|
||||
ensure_ascii := Bool,
|
||||
check_circular := Bool,
|
||||
allow_nan := Bool,
|
||||
cls := Type,
|
||||
indent := Int,
|
||||
separators := Iterable(Str),
|
||||
default := GenericCallable,
|
||||
sort_keys := Bool,
|
||||
**kw: Obj,
|
||||
) -> Str
|
||||
.load: (
|
||||
fp: File!,
|
||||
cls := Type,
|
||||
object_hook := GenericCallable,
|
||||
parse_float := GenericCallable,
|
||||
parse_int := GenericCallable,
|
||||
parse_constant := GenericCallable,
|
||||
object_pairs_hook := GenericCallable,
|
||||
**kw: Obj,
|
||||
) -> Obj
|
||||
.loads: (
|
||||
s: Str,
|
||||
cls := Type,
|
||||
object_hook := GenericCallable,
|
||||
parse_float := GenericCallable,
|
||||
parse_int := GenericCallable,
|
||||
parse_constant := GenericCallable,
|
||||
object_pairs_hook := GenericCallable,
|
||||
**kw: Obj,
|
||||
) -> Obj
|
||||
|
||||
.JsonDecoder: ClassType
|
||||
.JsonEncoder: ClassType
|
||||
|
||||
.JsonDecodeError: ClassType
|
||||
.JsonDecodeError <: ValueError
|
||||
.JsonDecodeError.
|
||||
msg: Str
|
||||
doc: Str
|
||||
pos: Nat
|
||||
lineno: Nat
|
||||
colno: Nat
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue