Skip to content

Commit

Permalink
Fix versionadded version note.
Browse files Browse the repository at this point in the history
  • Loading branch information
gresm committed Nov 4, 2024
1 parent d5015ed commit 48c1991
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/reST/ref/event.rst
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ On Android, the following events can be generated
Returns an event class that is correlated with the given event type. If the class to a given event type is not found,
but the type is within the range of valid values for the event type, a new subclass will be created.

.. versionadded:: 2.5.2
.. versionadded:: 2.6.0
.. ## pygame.event.event_class ##
.. class:: Event
Expand All @@ -489,7 +489,7 @@ On Android, the following events can be generated
.. versionchanged:: 2.1.4 This class is also available through the ``pygame.Event``
alias.

.. versionchanged:: 2.5.2 This class can be subclassed to create user-defined event types.
.. versionchanged:: 2.6.0 This class can be subclassed to create user-defined event types.

.. note::
From version 2.1.3 ``EventType`` is an alias for ``Event``. Beforehand,
Expand Down

0 comments on commit 48c1991

Please sign in to comment.