Implements the .Overloads[PyOrCsType, ...] syntax on class objects as described in the docs. __overloads__[...] is a valid alias in the sort term, but deprecation is planned for the near future. It works very much like MethodObject __overloads__ (which was also aliased as "Overloads" in an earlier update). These new names support the current state of IronPython.
When used like a property .Overloads returns a __doc__-like string from its __repr__ method.
GetItem() returns a bound constructor that also has a pretty cool __repr__ method.
Log in to post a comment.