diff options
author | Bryan Bishop <kanzure@gmail.com> | 2013-01-27 17:08:14 -0600 |
---|---|---|
committer | Bryan Bishop <kanzure@gmail.com> | 2013-01-27 17:08:14 -0600 |
commit | 00a2e4e1192513885f9a6e2e77bb78d2bcb1f53c (patch) | |
tree | 58338af1f4ce55c81fb58c455d36808a73a98c73 /extras | |
parent | 3b7089411bda77af8e0b0080a20c934e579ff1f8 (diff) |
pedantic formatting changes for pointers.py
Diffstat (limited to 'extras')
-rw-r--r-- | extras/pointers.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/extras/pointers.py b/extras/pointers.py index 6a1d24241..8fe3df31b 100644 --- a/extras/pointers.py +++ b/extras/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" |