code_relocation: combine typing imports onto a single line
The script can be made more concise by combining the imports of three classes from the typing module into a single line. Signed-off-by: Joel Holdsworth <jholdsworth@nvidia.com>
This commit is contained in:
parent
4f0b402224
commit
8a8b42be8c
1 changed files with 1 additions and 3 deletions
|
@ -49,9 +49,7 @@ import warnings
|
||||||
from collections import defaultdict
|
from collections import defaultdict
|
||||||
from enum import Enum
|
from enum import Enum
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from typing import NamedTuple
|
from typing import NamedTuple, NewType, Tuple
|
||||||
from typing import NewType
|
|
||||||
from typing import Tuple
|
|
||||||
|
|
||||||
from elftools.elf.elffile import ELFFile
|
from elftools.elf.elffile import ELFFile
|
||||||
from elftools.elf.sections import SymbolTableSection
|
from elftools.elf.sections import SymbolTableSection
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue