Tutorials Should Match API

Issue #45 resolved
Jordan F created an issue

Tutorials all use: import sdl2.ext as sdl2ext

API presumably uses: import sdl2.ext

As an example from the API "sdl2.ext.UIFactory()".

I personally see nothing wrong with the dot notation for submodules so why not use "sdl2.ext". However if you wish to dismiss this on personal taste then I understand as it is very trivial.

Comments (2)

  1. Log in to comment