You're going to need to show us the entire file, sorry Yanom. Can't tell
anything from that one function. The error however, is not caused by that
function, but by whatever comes before it. Maybe an unbalanced parenthesis?

On Tue, Apr 28, 2009 at 4:45 PM, Yanom Mobis <ya...@rocketmail.com> wrote:

> This error:
>
>   File "main.py", line 36
>     def pymageinit():
>       ^
> SyntaxError: invalid syntax
>
> is caused by this function:
>
> def pymageinit():
>     global magi
>     magi = [Mage("Player",20, 200), Mage("Arcawen",20, 200)]
>
>
>
> does anyone know what i'm doing wrong?
>
>


-- 
Visit my blog at http://oddco.ca/zeroth/zblog

Reply via email to