Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#204 Typo in copyBaseFunction method

v3.0.0
closed
nobody
None
5
2009-02-05
2008-12-03
No

Working with PyOpenGL-3.0.0b6 code

in the module OpenGL.platform.baseplatform , line 192 of the file baseplatform.py, the implementation of the method BasePlatform.copyBaseFunction

188 return self.createBaseFunction(
189 original.__name__, original.DLL,
190 resultType=original.restype, argTypes=original.argtypes,
191 doc = original.__doc__, argNames = original.argNames,
192 extension = original.argNames,
193 )
194 def nullFunction(
195 self,

I believe line 192 should be:
extension=original.extension

This was discovered when the copy of gluNurbsCallback function failed in using GLU.gluNurbs

Discussion

  • Rene Dudfield
    Rene Dudfield
    2009-02-05

    Hi,

    this bug has been fixed in the launch pad bzr.

    cheers,

     
  • Rene Dudfield
    Rene Dudfield
    2009-02-05

    • status: open --> closed