Skip to content
Prev Previous commit
Next Next commit
Remove comments
  • Loading branch information
saulshanabrook committed Jul 4, 2022
commit ff43a3a67d5721db6fa890f9f955156fa573d48c
13 changes: 0 additions & 13 deletions code_data/blocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -419,16 +419,3 @@ def _instrsize(arg: int) -> int:
_c_int_upper_limit = (2 ** (_c_int_bit_size - 1)) - 1
# The number of values that can be stored in a signed int
_c_int_length = 2**_c_int_bit_size


# _PyCode_ConstantKey = ctypes.pythonapi._PyCode_ConstantKey
# _PyCode_ConstantKey.restype = ctypes.py_object


# def code_constant_key(value: object) -> object:
# """
# Transforms a value with the _ConstantKey function used in the Code type
# to compare equality of constants. It transforms objects so that the constant `1`
# is not equal to `True` for example, by adding their types.
# """
# return _PyCode_ConstantKey(ctypes.py_object(value))