framenet.py: doctest fixes for Python 3.x compatibility

see #479