From: "Guido van Rossum" <guido@python.org> to more arguments as well.) > > It might also be possible to modify a multimethod dynamically, > e.g. later one could write: > > def f4(a: Cat4): > ...code for Cat4... > > f.add(f4) > > This is more in the spirit of Python than your original proposal, > which appeared like the compiler would have to gather all the > definitions from different places and fuse them. That would be too > complex for Python's simple-minded compiler! This is most like what I had in mind. ----------------------------------------------------------- David Abrahams * Boost Consulting dave@boost-consulting.com * http://www.boost-consulting.com
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4