Skip to content

Commit d7c3753

Browse files
author
hartsantler
committed
updated README
1 parent 2509653 commit d7c3753

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

README.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -455,11 +455,6 @@ In the default python mode these errors will always be thrown, and halt the prog
455455
```
456456
pythonjs.configure(javascript=True)
457457
a = {}
458-
459-
# this will not throw any error
460-
b = a['xxx']
461-
462-
# this will throw KeyError, and when caught `b` is set to "my-default"
458+
b = a['xxx'] # this will not throw any error
463459
b = a['xxx'] except KeyError: 'my-default'
464-
465-
```
460+
```

0 commit comments

Comments
 (0)