diff options
-rw-r--r-- | pointers.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pointers.py b/pointers.py index 6a1d242..8fe3df3 100644 --- a/pointers.py +++ b/pointers.py @@ -1,11 +1,12 @@ # -*- coding: utf-8 -*- -""" Various functions related to pointer and address math. Mostly to avoid - depedency loops. +""" +Various functions related to pointer and address math. Mostly to avoid +depedency loops. """ def calculate_bank(address): """you are too lazy to divide on your own?""" - if type(address) == str: + if type(address) == str: address = int(address, 16) #if 0x4000 <= address <= 0x7FFF: # raise Exception, "bank 1 does not exist" |