Does it help if you replace the initial ''' with r''' ?

John Cremona

2008/10/30 kcrisman <[EMAIL PROTECTED]>:
>
>
>
>>
>> Yes. Could you please post the said link. I really want to know what
>> caused the problem you're describing.
>
> http://math.uchicago.edu/~crisman/Weird_Notebook_Behavior.sws
>
> I would try it out sagenb.org, but... :)  However, I did try it on our
> departmental server (which is 3.0.4, I think) and it also blew up.
>
> Sample function which causes problems:
>
> sage: def plot_or_not():
> ....:     '''
> ....:     What's up with this? x^3
> ....:     '''
> ....:     f(x)=x^3
> ------------------------------------------------------------
>   File "<ipython console>", line 5
> SyntaxError: can't assign to function call (<ipython console>, line 5)
>
> Experimentation reveals that the apostrophe is causing the trouble.
> As you can see, I now have had time to try this in the console, as
> well as the other problems on the linked worksheet, so I'm baffled.
>
> I hope it's not my architecture - PPC OSX.4.
>
> - kcrisman
> >
>

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to