Skip to content

Primes class dependency injection #7

@liam-m

Description

@liam-m

https://rhettinger.wordpress.com/2011/05/26/super-considered-super/

See collections (collections.py, _abcoll.py) for an example with OrderedDict and Counter. Combine to make OrderedCounter:

class OrderedCounter(Counter, OrderedDict):
    pass

Made some effort to do this but it doesn't seem to work properly yet

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions