move typing imports to top of file

This commit is contained in:
Jan Petykiewicz 2020-09-10 19:54:25 -07:00
parent a80ac6199a
commit 2c2013a0fc
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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