main
main copied to clipboard
implement type.mro()
Including user overrides:
type.mro(int)
class User(type):
def mro(cls):
return ['a','b']
The user overload should then impact how mro works for subtypes.
At the moment we are throwing NotImplementedErrors for all of the above.
Work Item Details
Original CodePlex Issue: Issue 1060 Status: Active Reason Closed: Unassigned Assigned to: Unassigned Reported on: Jul 19, 2006 at 12:54 AM Updated on: Feb 22, 2013 at 2:17 AM Updated by: jdhardy
The first item
type.mro(int)
works now.