sublassing as a verb

Discussion in 'Python' started by davidj411, Jun 20, 2008.

  1. davidj411

    davidj411 Guest

    docs on urllib module say this about the FancyUrlOpener:
    "class FancyURLopener( ...)

    FancyURLopener subclasses URLopener providing default handling
    for ..."

    does that mean the FancyURLopener is a subclass of URLopener?
     
    davidj411, Jun 20, 2008
    #1
    1. Advertising

  2. davidj411

    Guest

    On 20 juin, 22:34, davidj411 <> wrote:
    > docs on urllib module say this about the FancyUrlOpener:
    > "class FancyURLopener( ...)
    >
    > FancyURLopener subclasses URLopener providing default handling
    > for ..."
    >
    > does that mean the FancyURLopener is a subclass of URLopener?


    You could easily find out by yourself, you know ?-)

    Python 2.5.1 (r251:54863, Apr 6 2008, 17:20:35)
    [GCC 4.1.2 (Gentoo 4.1.2 p1.0.2)] on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    >>> from urllib import URLopener, FancyURLopener
    >>> issubclass(FancyURLopener, URLopener)

    True
     
    , Jun 20, 2008
    #2
    1. Advertising

  3. davidj411

    Carl Banks Guest

    On Jun 20, 4:34 pm, davidj411 <> wrote:
    > docs on urllib module say this about the FancyUrlOpener:
    > "class FancyURLopener( ...)
    >
    > FancyURLopener subclasses URLopener providing default handling
    > for ..."
    >
    > does that mean the FancyURLopener is a subclass of URLopener?


    Yes. Anthimeria is very common in English.


    Carl Banks
     
    Carl Banks, Jun 21, 2008
    #3
    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. Kenneth Myhra

    HTTP error 405 for 'PUT' verb

    Kenneth Myhra, Feb 17, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    1,114
    bruce barker
    Feb 17, 2004
  2. =?Utf-8?B?UmV6YSBTb2xvdWtp?=

    The web serve has been locked down and is blocking the Debug verb.

    =?Utf-8?B?UmV6YSBTb2xvdWtp?=, Nov 24, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    3,636
    Ben Strackany
    Nov 24, 2004
  3. Randy
    Replies:
    0
    Views:
    446
    Randy
    Mar 29, 2006
  4. Dennis Kaarsemaker

    Sublassing in C

    Dennis Kaarsemaker, Aug 14, 2004, in forum: Python
    Replies:
    2
    Views:
    329
    Greg Chapman
    Aug 15, 2004
  5. Frank Millman
    Replies:
    5
    Views:
    401
    Hrvoje Niksic
    Mar 31, 2010
Loading...

Share This Page