1
0
mirror of https://github.com/mnaberez/py65.git synced 2024-11-19 06:31:08 +00:00

Replaces a range by an xrange

Signed-off-by: Mike Naberezny <mike@naberezny.com>
This commit is contained in:
Oscar Lindberg 2009-04-06 01:58:05 +08:00 committed by Mike Naberezny
parent 90d189151b
commit dc1897310e

View File

@ -56,7 +56,7 @@ class ObservableMemoryTests(unittest.TestCase):
def listener(address, value):
return 0xAB
mem.register_listener(range(0xC000, 0xC001+1), listener)
mem.register_listener(xrange(0xC000, 0xC001+1), listener)
mem[0xC000] = 0xAB
mem[0xC001] = 0xAB