← Back to team overview

dolfin team mailing list archive

[Bug 787438] Re: Mismatch between Expression constructor arguments and docstring

 

Should be fixed now

** Changed in: dolfin
       Status: New => Fix Committed

** Changed in: dolfin
   Importance: Undecided => Medium

** Changed in: dolfin
     Assignee: (unassigned) => Johan Hake (johan-hake)

** Changed in: dolfin
    Milestone: None => 0.9.12

-- 
You received this bug notification because you are a member of DOLFIN
Team, which is subscribed to DOLFIN.
https://bugs.launchpad.net/bugs/787438

Title:
  Mismatch between Expression constructor arguments and docstring

Status in DOLFIN:
  Fix Committed

Bug description:
  Excerpt from an ipython session:

  
  In [15]: Expression.__init__?
  ...
  Definition:	Expression.__init__(self, cppcode=None, defaults=None, element=None, cell=None, degree=None, **kwargs)
  ...
  In [16]: e = Expression("1.0", cell=triangle)
  ...
  TypeError: __init__() got an unexpected keyword argument 'cell'

  
  The "Definition" part shows cell as an argument, but it is not accepted.
  If it shouldn't be there, it should be removed.


References