Terry Reedy wrote:
> import unirep
> print(*map(unirep.russian, objects))

That's okay if the objects are strings, but what about
non-string objects that contain strings?

We'd need another protocol, such as __unirep__.

-- 
Greg
_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to