[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] pygame Event



On Thu, 3 Mar 2016 14:34:47 -0600
Lsc Student <lscstu22@xxxxxxxxx> wrote:

> Hey everybody,
> 
> I seem to be getting "AttributeError: event member not defined"
> whenever I attempt to call "event.__dict__". What's going on here? Is
> this a bug? Thanks in advance for any help.
> 
> http://pastebin.com/qfKg2bAe http://pastebin.com/KQN8Fpc8

No, that is not a bug. The Events don't have a __dict__ attribute.
The attributes that events have are described in the documentation:

http://pygame.org/docs/ref/event.html

-- 
Radomir Dopieralski