Re: subclassable types

Discussion in 'Python' started by Wolfgang Maier, Feb 22, 2013.

  1. Jean-Michel Pichavant <jeanmichel <at> sequans.com> writes:

    > Note that range is a function, not a class, hence the error when inheriting

    from it.

    I was referring to range in Python3, where it is a class. Should have pointed
    that out.
    Wolfgang Maier, Feb 22, 2013
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Wolfgang Maier

    subclassable types

    Wolfgang Maier, Feb 22, 2013, in forum: Python
    Replies:
    1
    Views:
    80
    Steven D'Aprano
    Feb 22, 2013
  2. Sven

    Re: subclassable types

    Sven, Feb 22, 2013, in forum: Python
    Replies:
    0
    Views:
    67
  3. Terry Reedy

    Re: subclassable types

    Terry Reedy, Feb 22, 2013, in forum: Python
    Replies:
    0
    Views:
    71
    Terry Reedy
    Feb 22, 2013
  4. Wolfgang Maier

    Re: subclassable types

    Wolfgang Maier, Feb 24, 2013, in forum: Python
    Replies:
    0
    Views:
    78
    Wolfgang Maier
    Feb 24, 2013
  5. Wolfgang Maier

    Re: subclassable types

    Wolfgang Maier, Feb 24, 2013, in forum: Python
    Replies:
    0
    Views:
    93
    Wolfgang Maier
    Feb 24, 2013
Loading...

Share This Page