src/wolfgame.py: Consistency fixes
- Replaced all \XX, \XXX and \xXX syntax by \uXXXX syntax - Replaced all single-quotes messages by double-quotes ones where it makes sense - Replace all {} in string literals by {0} syntax (explicit over implicit) - Use x.startswith(("a", "e", "i", "o", "u")) instead of x[0] in ("a", "e", "i", "o", "u") - Remove list comprehensions where a simple generator would work (reduces memory consumption where we can)
This commit is contained in:
parent
ced87d21ea
commit
6278f3fe29
364
src/wolfgame.py
364
src/wolfgame.py
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user