On 2/22/06, Neil Schemenauer <nas at arctrix.com> wrote: > > @classmethod > def fromhex(self, data): > data = re.sub(r'\s+', '', data) > return bytes(binascii.unhexlify(data)) If it's to be a classmethod, I guess that should be "return self( binascii.unhexlify(data))". -j -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/python-dev/attachments/20060223/09dff5c6/attachment.html
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4