def nextcode(cls): '''Returns the next address that has code referencing it.''' return cls.nextcode(ui.current.address(), 1)