Skip to content

typo in mixin class ? #56

Closed
Closed

Description

@wesm

Original Launchpad bug 676583: https://bugs.launchpad.net/statsmodels/+bug/676583
Reported by: josef-pktd (joep).

test_discrete.py has the following

class CheckMargEff()

I have never seen () after a class definition and I'm not sure what it does.

I added object as the superclass to have python 2.4 compatibility (currently my branch) and an unambiguous (to me) class type

Add comments if this is more than a typo

Activity

  1. wesm commented on Aug 25, 2011

    @wesm
    MemberAuthor

    [ LP comment 1 by: Skipper Seabold, on 2010-11-17 18:20:34.844440+00:00 ]

    Yeah, this looks like a typo. Even in Python 2.7 I get an old-style class without inheriting from object.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions