Bug in auto-generated function arg list

Eric Fahlgren <[email protected]>
Newsgroups gmane.comp.python.wxpython.devel
Message-ID <CAP2Qz+V6b3JEtG4mm1OqxP79723u9K77vsE_dWzs6ngp+XCv+Q@mail.gmail.com>
​Just ran into a bug in a deprecated function, line 2347 core.py from
wxPython-4.0.0b2.dev3256+71cb7d6-cp27-cp27m-win_amd64.whl

NameError: global name 'self' is not defined

def _VScrolledWindow_HitTest(*args):
    """
    Deprecated compatibility helper.
    """
    if len(args) == 2:
        x, y = args
        return *self*.VirtualHitTest(y)
    else:
        pt = args[0]
        return *self*.VirtualHitTest(pt[1])​

For some reason I'm not seeing the deprecation messages, or I'd probably
have cleaned that up and not seen this.

-- 
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.