> You can actually just do that with simple assignment! 
> 
> short_view = my_object.stuff.long_stuff.sub_object 
> print(short_view.some_method()) 

but then have to delete the variable manually

del short_view 
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to