Skip to content

Commit

Permalink
Ooops, wrong codepath
Browse files Browse the repository at this point in the history
  • Loading branch information
bgamari committed Jun 26, 2015
1 parent 979c6a6 commit fb09e73
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions squmfit/expr.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ def go(*args, **kwargs):
else:
return func(*args, **kwargs)

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

def lift_term(value):
Expand All @@ -42,7 +41,7 @@ def go(x, out=None):
return OpExpr(func, x)

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

def ufunc2(func):
Expand Down

0 comments on commit fb09e73

Please sign in to comment.