Advertisement
tinyevil

Untitled

Jun 29th, 2018
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. // after
  2.  
  3. public import from a;
  4. public import from b;
  5.  
  6. // lookup procedure for ab becomes
  7.  
  8. result_self = lookup_self()
  9. if not result_self:
  10. result_a = a.lookup()
  11. result_b = b.lookup()
  12. return merge(result_a, result_b)
  13. else:
  14. return result_self
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement