[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] BUG: load_xbm won't take 1 argument



my OS is Windows XP SP2
my Python version is 2.5
my pygame version is '1.7.1release'

I get this error when trying to load an xbm file:


    pygame.cursors.load_xbm("windowsno.xbm")
TypeError: load_xbm() takes exactly 2 arguments (1 given)

i also tried pygame.cursors.load_xbm("windowsno.xbm", None) (even
though the second argument should default to None according to the
documentation), and it said NoneType has no attribute readline.    so
it insists on having a second file, but i only have one file i want to
load.