Skip to content

Commit

Permalink
Take minimal docstring from numpy
Browse files Browse the repository at this point in the history
  • Loading branch information
bgamari committed Jun 26, 2015
1 parent cca1d35 commit 979c6a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions squmfit/expr.py
Expand Up @@ -26,7 +26,7 @@ def go(*args, **kwargs):
return func(*args, **kwargs)

if _use_numpy_docs:
go.__doc__ = func.__doc__
go.__doc__ = func.__doc__.split('\n\n')[1]
return go

def lift_term(value):
Expand Down Expand Up @@ -56,7 +56,7 @@ class Expr(object):
"""
An expression capable of taking parameters from a packed parameter
vector. All of the usual Python arithmetic operations are
supported as well as a good fraction of the Numpy ufuncs. Note,
supported as well as a good fraction of the Numpy ``ufuncs``. Note,
however, that the ufuncs' ``out`` parameter is not supported.
"""

Expand Down

0 comments on commit 979c6a6

Please sign in to comment.