RK70825 / TogePy

Text based Pokemon and AI testing
GNU General Public License v2.0
1 stars 0 forks source link

Use assertions or try/catch in classes when checking argument types #10

Open RK70825 opened 10 years ago

RK70825 commented 10 years ago

Most classes in pokeStructs.py return an error string. A better choice would be to use assertions or try/catch for code that only takes inputs internally.