forked from jan/fatamorgana
move typing imports to top of file
This commit is contained in:
parent
a80ac6199a
commit
2c2013a0fc
@ -2,8 +2,8 @@
|
|||||||
This module contains all datatypes and parsing/writing functions for
|
This module contains all datatypes and parsing/writing functions for
|
||||||
all abstractions below the 'record' or 'block' level.
|
all abstractions below the 'record' or 'block' level.
|
||||||
"""
|
"""
|
||||||
from fractions import Fraction
|
|
||||||
from typing import List, Tuple, Type, Union, Optional, Any, Sequence
|
from typing import List, Tuple, Type, Union, Optional, Any, Sequence
|
||||||
|
from fractions import Fraction
|
||||||
from enum import Enum
|
from enum import Enum
|
||||||
import math
|
import math
|
||||||
import struct
|
import struct
|
||||||
|
@ -10,8 +10,8 @@ Higher-level code (e.g. monitoring for combinations of records with
|
|||||||
parse, or code for dealing with nested records in a CBlock) should live
|
parse, or code for dealing with nested records in a CBlock) should live
|
||||||
in main.py instead.
|
in main.py instead.
|
||||||
"""
|
"""
|
||||||
from abc import ABCMeta, abstractmethod
|
|
||||||
from typing import List, Dict, Tuple, Union, Optional, Sequence, Any, TypeVar
|
from typing import List, Dict, Tuple, Union, Optional, Sequence, Any, TypeVar
|
||||||
|
from abc import ABCMeta, abstractmethod
|
||||||
import copy
|
import copy
|
||||||
import math
|
import math
|
||||||
import zlib
|
import zlib
|
||||||
|
Loading…
Reference in New Issue
Block a user