Eric V. Smith <[email protected]> added the comment:
Without commenting on how useful or desirable this would be, I'll point out the
string can be computed as:
return f'{int(self):#0{IPV4LENGTH+2}b}'
----------
nosy: +eric.smith
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue32820>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com