Public feed #600384

Miscellany

public text v1 · immutable
Raw Edit
·published 2007-07-02 20:47 UTC
rendered paste body
01:37 PM pyfacebook$ which python
/usr/bin/python
01:41 PM pyfacebook$ Python   
Python 2.3.5 (#1, Jan 13 2006, 20:13:11) 
[GCC 4.0.1 (Apple Computer, Inc. build 5250)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import facebook
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "facebook.py", line 273
    return ''.join(node.data for node in elem.childNodes if node.nodeType == node.TEXT_NODE)
                               ^
SyntaxError: invalid syntax