I want >>BinaryInt(-2, 4) 0b1110 >>BinaryInt(-2, 4, True) -0b010 >>BinaryInt(-0b010, 4) 0b1110 It should accept float values also.
Can anyone tell what should be the input and return types??? _______________________________________________ Python-ideas mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/5HBNQHAEFCQMBVQIDE2K4KC3DMUU22JJ/ Code of Conduct: http://python.org/psf/codeofconduct/
