|
|
|
|
|
by the_mitsuhiko
5302 days ago
|
|
> could you explain why you think that expression has anything to do with multimethods? You can override the behavior of a function based on the types involved. For instance ``coerce(a, b)`` calls ``a.__coerce__(b)``. By overriding ``__coerce__`` for one type you can customize this. |
|