Dear Kcrisman,

On Oct 30, 2:22 pm, kcrisman <[EMAIL PROTECTED]> wrote:
> 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)

I get the same (console, Suse linux, x86_64).

It works fine if you use triple-" and not triple-' :
sage: def plot_or_not():
....:     """
....:     What's up with this?
Object `What's up with this` not found.
....:     """
....:     f(x)=x^3
....:
sage: plot_or_not()

The complaint "Object `What's up with this` not found." is disturbing,
but eventually sage swallows the definition.

It *should* work with triple-' as well, I believe. But at least
triple-" is a work-around.

Cheers
     Simon

--~--~---------~--~----~------------~-------~--~----~
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