Opened 7 years ago

Closed 7 years ago

#645 closed enhancement (fixed)

[with patch, with positive review] multi-argument call for symbolic expressions

Reported by: robertwb Owned by: mhansen
Priority: major Milestone: sage-2.8.15
Component: calculus Keywords:
Cc: Merged in:
Authors: Reviewers:
Report Upstream: Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description

sage: x,y = var('x y')
sage: f(3)
y + 3
sage: f(3)(4)
7
sage: f(3,4)
---------------------------------------------------------------------------
<type 'exceptions.TypeError'>             Traceback (most recent call last)

/Users/robert/sage/sage-2.5/devel/sage-working/<ipython console> in <module>()

<type 'exceptions.TypeError'>: __call__() takes at most 2 arguments (3 given)
sage: 

Attachments (1)

645.patch (1.8 KB) - added by mhansen 7 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 7 years ago by mhansen

  • Milestone changed from sage-feature to sage-2.8.15
  • Owner changed from was to mhansen
  • Status changed from new to assigned
  • Summary changed from multi-argument call for symbolic expressions to [with patch] multi-argument call for symbolic expressions

Changed 7 years ago by mhansen

comment:2 Changed 7 years ago by mhansen

This should be applied after #1345.

comment:3 Changed 7 years ago by cwitty

  • Summary changed from [with patch] multi-argument call for symbolic expressions to [with patch, with positive review] multi-argument call for symbolic expressions

Looks good to me, and doctests still pass in sage/calculus/*.

comment:4 Changed 7 years ago by mabshoff

  • Resolution set to fixed
  • Status changed from assigned to closed

Merged in 2.8.15.alpha0.

Note: See TracTickets for help on using tickets.