write take a list of instance

browse already returns a list of instance.

issue3424
review1134002
(transplanted from 6e61f38ef2672a8f57e0a6fe49a1cbe03e585d35)

--HG--
extra : transplant_source : na%F3%8E%F2g%2A%8FW%E0%A6%FEI%A1%CB%E0%3EX%5D5