The autoattribute magic works fine with other similar attribute documentation strings, like pyglet.clock.Clock.MIN_SLEEP.

The problem is at pyglet/window/__init__.py #1691

if _is_epydoc:
    # We are building documentation
    Window = BaseWindow
    Window.__name__ = 'Window'
    del BaseWindow

If I comment this, BaseWindow.invalid has the documentation string.

We have to find another way to create the Window alias.

I think this problem was happening with epydoc, too.

--
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to