diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2019-12-05 08:30:44 -0800 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-12-05 22:15:40 +0200 |
commit | 5b97767ea85d76ea08e66e9b81da21783322f6ff (patch) | |
tree | f950fdd8aa885e89bcc53295d1f5253e52e6a8e2 /mesonbuild/compilers/cuda.py | |
parent | e88b3c802250feceaf5fb2950ce7847e6a91626f (diff) | |
download | meson-5b97767ea85d76ea08e66e9b81da21783322f6ff.zip meson-5b97767ea85d76ea08e66e9b81da21783322f6ff.tar.gz meson-5b97767ea85d76ea08e66e9b81da21783322f6ff.tar.bz2 |
compilers: use import typing instead of from typing import
`from foo import` should be used sparingly because of namespace
pollution, especially since those names will be exported
unconditionally. For typing this is extra annoying because anytime
someone wants to use another symbol from the typing module they have to
add it to the import line. Use `import typing` to avoid all of this.
Diffstat (limited to 'mesonbuild/compilers/cuda.py')
0 files changed, 0 insertions, 0 deletions