Ticket #9958: trac_9958-symbolic_callable.patch

File trac_9958-symbolic_callable.patch, 1.3 KB (added by fbissey, 10 years ago)

fix error message in symbolics/callable.py

  • sage/symbolic/callable.py

    # HG changeset patch
    # User Francois Bissey <francois.bissey@canterbury.ac.nz>
    # Date 1314328647 -43200
    # Node ID 9c49ab2fb2a88cc85a4c9560ddc1017899b87b7d
    # Parent  1df61ab2208c3e1762540fadc0852c70c0408a77
    trac 9958 fix error message in sage/symbolic/callable.py
    
    diff --git a/sage/symbolic/callable.py b/sage/symbolic/callable.py
    a b  
    3838    sage: f(1)=2
    3939    Traceback (most recent call last):
    4040    ...
    41     SyntaxError: can't assign to function call ...
     41    SyntaxError: can't assign to function call
    4242
    4343    sage: f(x,1)=2
    4444    Traceback (most recent call last):
    4545    ...
    46     SyntaxError: can't assign to function call ...
     46    SyntaxError: can't assign to function call
    4747
    4848    sage: f(1,2)=3
    4949    Traceback (most recent call last):
    5050    ...
    51     SyntaxError: can't assign to function call ...
     51    SyntaxError: can't assign to function call
    5252
    5353    sage: f(1,2)=x
    5454    Traceback (most recent call last):
    5555    ...
    56     SyntaxError: can't assign to function call ...
     56    SyntaxError: can't assign to function call
    5757
    5858    sage: f(x,2)=x
    5959    Traceback (most recent call last):
    6060    ...
    61     SyntaxError: can't assign to function call ...
     61    SyntaxError: can't assign to function call
    6262"""
    6363
    6464from sage.symbolic.ring import SymbolicRing, SR, ParentWithBase