Skip to content

Commit 48c1991

Browse files
committed
Fix versionadded version note.
1 parent d5015ed commit 48c1991

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/reST/ref/event.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ On Android, the following events can be generated
471471
Returns an event class that is correlated with the given event type. If the class to a given event type is not found,
472472
but the type is within the range of valid values for the event type, a new subclass will be created.
473473

474-
.. versionadded:: 2.5.2
474+
.. versionadded:: 2.6.0
475475
.. ## pygame.event.event_class ##
476476
477477
.. class:: Event
@@ -489,7 +489,7 @@ On Android, the following events can be generated
489489
.. versionchanged:: 2.1.4 This class is also available through the ``pygame.Event``
490490
alias.
491491

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

494494
.. note::
495495
From version 2.1.3 ``EventType`` is an alias for ``Event``. Beforehand,

0 commit comments

Comments
 (0)