File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -39,15 +39,15 @@ def __init__(self) -> None:
39
39
self ._pop_typed = values .pop
40
40
self .__len__ = values .__len__
41
41
42
- def push_int (self , value ) -> int :
42
+ def push_int (self , value ) -> None :
43
43
if len (self .values ) > 1023 :
44
44
raise FullStack ('Stack limit reached' )
45
45
46
46
validate_stack_int (value )
47
47
48
- self ._append (( int , value ) )
48
+ self ._append (value )
49
49
50
- def pop1_int (self , value ) -> int :
50
+ def pop1_int (self ) -> int :
51
51
#
52
52
# Note: This function is optimized for speed over readability.
53
53
#
@@ -62,5 +62,5 @@ def pop1_int(self, value) -> int:
62
62
else :
63
63
raise ValidationError (
64
64
"Stack must always be bytes or int, "
65
- f"got { item_type !r} type, val { value !r } "
65
+ f"got { item_type !r} type"
66
66
)
You can’t perform that action at this time.
0 commit comments