1
0
mirror of https://github.com/myhdl/myhdl.git synced 2024-12-14 07:44:38 +08:00

superfluous function removed

This commit is contained in:
jand 2003-07-18 16:25:24 +00:00
parent baf79bd3dd
commit ce606bbaad

View File

@ -26,13 +26,6 @@ __revision__ = "$Revision$"
__date__ = "$Date$" __date__ = "$Date$"
def _int2bitstring(num):
if num == 0:
return '0'
if abs(num) == 1:
return '1'
return _int2bitstring(num // 2) + _int2bitstring(num % 2)
def _int2bitstring(num): def _int2bitstring(num):
if num == 0: if num == 0:
return '0' return '0'