From 935844f274f7d6e033e47e122ff719b4d9a7ae37 Mon Sep 17 00:00:00 2001 From: CPunch Date: Mon, 22 Aug 2022 00:59:21 -0500 Subject: [PATCH] more minor refactoring --- lundump.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lundump.py b/lundump.py index 99e6388..28f622f 100644 --- a/lundump.py +++ b/lundump.py @@ -1,7 +1,7 @@ ''' l(un)dump.py - A Lua5.1 cross-platform bytecode deserializer. This module pulls int and size_t sizes from the + A Lua5.1 cross-platform bytecode deserializer && serializer. This module pulls int and size_t sizes from the chunk header, meaning it should be able to deserialize lua bytecode dumps from most platforms, regardless of the host machine. @@ -9,11 +9,9 @@ as well as read the lundump.c source file from the Lua5.1 source. ''' -from multiprocessing.spawn import get_executable import struct import array from enum import IntEnum, Enum, auto -from typing_extensions import Self class InstructionType(Enum): ABC = auto(),