1. Marcus von Appen
  2. py-sdl2

Commits

Marcus von Appen  committed 9119dd3 Merge

Merged in JoePolak/py-sdl2/fix-docs-sprite (pull request #27)

Documentation fix for SpriteFactory

  • Participants
  • Parent commits f290399, 20aba07
  • Branches default

Comments (0)

Files changed (1)

File doc/modules/sdl2ext_sprite.rst

View file
       :class:`TextureSprite`, *x* and *y* denote the absolute position of the
       :class:`TextureSprite`, if set.
 
-.. class:: SpriteFactory(sprite_type=SOFTWARE, **kwargs)
+.. class:: SpriteFactory(sprite_type=TEXTURE, **kwargs)
 
    A factory class for creating :class:`Sprite` objects. The
    :class:`SpriteFactory` can create :class:`TextureSprite` or