diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2024-04-25 13:26:11 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2024-04-25 14:34:42 -0400 |
commit | d3c2603167baf9f6fea006f8b747b8186f89b177 (patch) | |
tree | 0edec227d265d84a69350d96ec62cee9116f2a08 /gdb/testsuite/gdb.python | |
parent | 5b9707eb872ad4cb50c98d396d16f110070a44ca (diff) | |
download | binutils-d3c2603167baf9f6fea006f8b747b8186f89b177.zip binutils-d3c2603167baf9f6fea006f8b747b8186f89b177.tar.gz binutils-d3c2603167baf9f6fea006f8b747b8186f89b177.tar.bz2 |
gdb: add type annotations to ada-unicode.py
Add type annotations to ada-unicode.py, just enough to make pyright
happy:
$ pyright --version
pyright 1.1.359
$ pyright ada-unicode.py
0 errors, 0 warnings, 0 informations
Introduce a `Range` class instead of using separate variables and
tuples, to make the code and type annotations a bit cleaner.
When running ada-unicode.py, I get a diff for ada-casefold.h, but I get
the same diff before and after this patch, so that is a separate issue.
Change-Id: I0d8975a57f9fb115703178ae197dc6b6b8b4eb7a
Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/testsuite/gdb.python')
0 files changed, 0 insertions, 0 deletions