This website works better with JavaScript.
Home
Explore
Help
Sign In
jmg
/
gitmirror
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
39
Wiki
Activity
Browse Source
Typo
tags/gm/2021-09-23T00Z/github.com--lark-parser-lark/0.9.0
Erez Sh
4 years ago
parent
5e82c668a4
commit
41ade56723
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
examples/error_puppet.py
+ 1
- 1
examples/error_puppet.py
View File
@@ -28,7 +28,7 @@ def ignore_errors(e):
def main():
s = "[0 1, 2,, 3,,, 4, 5 6 ]"
res = json_parser.parse(s, on_error=ignore_errors)
print(res) # prints [1.0, 2.0, 3.0, 4.0, 5.0, 6.0]
print(res) # prints [
0.0,
1.0, 2.0, 3.0, 4.0, 5.0, 6.0]
main()
Write
Preview
Loading…
Cancel
Save