Issue 3879: fixed docstring error when pyglet is install.