Skip to content

Commit 5af4b65

Browse files
committed
reviewer feedback
reviewer feedback
1 parent a5f87ae commit 5af4b65

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/flint/types/dirichlet.pyx

+7-3
Original file line numberDiff line numberDiff line change
@@ -176,10 +176,10 @@ cdef class dirichlet_char(object):
176176
177177
>>> from flint import showgood
178178
>>> chi = dirichlet_char(1, 1)
179-
>>> showgood(lambda: chi.l(2), dps=25)
179+
>>> showgood(lambda: chi.l_function(2), dps=25)
180180
1.644934066848226436472415
181181
>>> chi = dirichlet_char(7, 3)
182-
>>> showgood(lambda: chi.l(2+3j), dps=25)
182+
>>> showgood(lambda: chi.l_function(2+3j), dps=25)
183183
1.273313649440490751755284 - 0.07432329442559421607102118j
184184
185185
"""
@@ -190,7 +190,11 @@ cdef class dirichlet_char(object):
190190
return v
191191

192192
# For backwards compatibility we allow self.l(s) see Issue #210
193-
l = l_function # no-cython-lint
193+
def l(self, s): # no-cython-lint
194+
"""
195+
Alias for :meth:`l_function`
196+
"""
197+
return self.l_function(s)
194198

195199
def hardy_z(self, s):
196200
"""

0 commit comments

Comments
 (0)