Advertisement
Guest User

Untitled

a guest
Sep 25th, 2016
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. class Screen_Position_Keeper:
  2.  
  3. # functions to add stuff
  4.  
  5. def get_px_row( self, item ):
  6. try:
  7. return self.item_to_row[ item ]
  8. except KeyError:
  9. raise KeyError( 'You never registered that item' )
  10.  
  11. class Screen_Position_Keeper:
  12.  
  13. # functions to add stuff
  14.  
  15. def get_px_row( self, item ):
  16. return self.item_to_row[ item ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement