0.12dev: Fixed `cls` -> `self`. Patch by Felix Schwarz, thanks!
Closes #8617.
Authored by: rblank 2009-08-30
Parent: [r8539]
Child: [r8541]