kitty/kittens/unicode_input
Luflosi 2b095f720e
Use "with suppress()" to suppress python exceptions
Using
```Python
with suppress(OSError):
    os.remove('somefile.tmp')
```
instead of
```Python
try:
    os.remove('somefile.tmp')
except OSError:
    pass
```
makes the code more compact and more readable IMO.

This pattern was recommended by Raymond Hettinger, a Python Core
Developer in his talk "Transforming Code into Beautiful, Idiomatic Python" at https://www.youtube.com/watch?v=OSGv2VnC0go. The transcript is available at https://github.com/JeffPaine/beautiful_idiomatic_python
2019-06-03 12:27:43 +02:00
..
__init__.py Start work on unicode input kitten 2018-02-08 11:00:57 +05:30
main.py Use "with suppress()" to suppress python exceptions 2019-06-03 12:27:43 +02:00
names.h Update to using the Unicode 12 standard 2019-03-06 13:58:16 +05:30
unicode_names.c Fix character names for control characters not being read from unicode database 2018-05-01 10:13:58 +05:30