Skip to content

MAINT: python 2.7 specific subclasses of ResultsWrappers #5472

Open

Description

@josef-pkt

see #5370 (comment)

It looks like using a subclass that doesn't do anything extra is not needed anymore in python 3.
We could change this after dropping support for python 2.7

discrete has many cases like the following

class CountResultsWrapper(lm.RegressionResultsWrapper):
    pass
wrap.populate_wrapper(CountResultsWrapper, CountResults)

or in count_model

class ZeroInflatedPoissonResultsWrapper(lm.RegressionResultsWrapper):
    pass
wrap.populate_wrapper(ZeroInflatedPoissonResultsWrapper,
                      ZeroInflatedPoissonResults)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions