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

Re: [pygame] pygame Event



I'm confused what is http://pygame.org/docs/ref/event.html#pygame.event.EventType.__dict__ then?

Thanks for your reply btw.

On Thu, Mar 3, 2016 at 4:32 PM, Radomir Dopieralski <pygame@xxxxxxxxxxxx> wrote:
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