From 7a1a24a3f2d7a2fd9cba3e5b92c917546f755163 Mon Sep 17 00:00:00 2001 From: Giacomo Pope Date: Mon, 2 Sep 2024 16:21:43 +0100 Subject: [PATCH] reviewer feedback --- src/flint/types/dirichlet.pyx | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/flint/types/dirichlet.pyx b/src/flint/types/dirichlet.pyx index 2d29ec9e..2104720c 100644 --- a/src/flint/types/dirichlet.pyx +++ b/src/flint/types/dirichlet.pyx @@ -176,10 +176,10 @@ cdef class dirichlet_char(object): >>> from flint import showgood >>> chi = dirichlet_char(1, 1) - >>> showgood(lambda: chi.l(2), dps=25) + >>> showgood(lambda: chi.l_function(2), dps=25) 1.644934066848226436472415 >>> chi = dirichlet_char(7, 3) - >>> showgood(lambda: chi.l(2+3j), dps=25) + >>> showgood(lambda: chi.l_function(2+3j), dps=25) 1.273313649440490751755284 - 0.07432329442559421607102118j """ @@ -190,7 +190,11 @@ cdef class dirichlet_char(object): return v # For backwards compatibility we allow self.l(s) see Issue #210 - l = l_function # no-cython-lint + def l(self, s): # no-cython-lint + """ + Alias for :meth:`l_function` + """ + return self.l_function(s) def hardy_z(self, s): """