A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/attachments/20060223/09dff5c6/attachment.html below:

On 2/22/06, <b class="gmail_sendername">Neil Schemenauer</b> &lt;<a href="mailto:nas@arctrix.com">nas@arctrix.com</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
&nbsp;&nbsp;&nbsp; @classmethod<br>&nbsp;&nbsp;&nbsp;&nbsp;def fromhex(self, data):<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;data = re.sub(r'\s+', '', data)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return bytes(binascii.unhexlify(data))</blockquote><div><br>If it's to be a classmethod, I guess that should be &quot;return self(
binascii.unhexlify(data))&quot;.<br></div></div><br>-j<br>

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