magical expanding hash

Paul Rubin http
Tue Jan 17 15:35:48 EST 2006


"braver" <deliverable at gmail.com> writes:
> Actually, the behavior is important to translate perl into ruby.  Can
> it be implemented in python looking similarly?

It's kind of bizarre in Python to use << as a mutation operator, but I
guess you could do it.  Sort of like 'cout << "hello world"' in C++.



More information about the Python-list mailing list