diff --git a/src/sage/interfaces/expect.py b/src/sage/interfaces/expect.py index 2f9a65bdb3c..0d10d75f28b 100644 --- a/src/sage/interfaces/expect.py +++ b/src/sage/interfaces/expect.py @@ -407,7 +407,6 @@ def _install_hints_ssh(self): In many cases, the server that can actually run "slave" is not accessible from the internet directly, but you have to hop through an intermediate trusted server, say "gate". If that is your case, get help with _install_hints_ssh_through_gate(). - """ def _install_hints_ssh_through_gate(self): @@ -450,7 +449,6 @@ def _install_hints_ssh_through_gate(self): If this all works, you can then make calls like: math = Mathematica(server="remote_for_sage") - """ def _do_cleaner(self): diff --git a/src/sage/interfaces/fricas.py b/src/sage/interfaces/fricas.py index 7d4dddabba9..630283d5262 100644 --- a/src/sage/interfaces/fricas.py +++ b/src/sage/interfaces/fricas.py @@ -183,7 +183,6 @@ sage: x = var('x'); ex = x^2*exp(-x)*Ei(x) - x; fricas(ex).limit(x=oo) 1 - """ ########################################################################### diff --git a/src/sage/interfaces/genus2reduction.py b/src/sage/interfaces/genus2reduction.py index f2e3b7ab2e1..8cd13286830 100644 --- a/src/sage/interfaces/genus2reduction.py +++ b/src/sage/interfaces/genus2reduction.py @@ -311,8 +311,6 @@ class Genus2reduction(SageObject): y^2 + (x^3-x^2-1)y = x^2 - x. - - We have:: sage: genus2reduction(x^3-x^2-1, x^2 - x) diff --git a/src/sage/interfaces/giac.py b/src/sage/interfaces/giac.py index 124cc3b5a32..2464d5c4664 100644 --- a/src/sage/interfaces/giac.py +++ b/src/sage/interfaces/giac.py @@ -448,7 +448,6 @@ def _install_hints(self): ``$PREFIX``/share/giac/doc/en/cascmd_en/index.html If you got giac from the spkg then ``$PREFIX`` is ``$SAGE_LOCAL`` - """ def expect(self): diff --git a/src/sage/interfaces/lie.py b/src/sage/interfaces/lie.py index 2f7baa2cad0..71413162fd5 100644 --- a/src/sage/interfaces/lie.py +++ b/src/sage/interfaces/lie.py @@ -189,7 +189,6 @@ 5765224 - LiE's help can be accessed through lie.help('functionname') where functionname is the function you want to receive help for. :: @@ -204,7 +203,6 @@ This can also be accessed with lie.functionname? . - With the exception of groups, all LiE data types can be converted into native Sage data types by calling the .sage() method. @@ -272,8 +270,6 @@ sage: eval_pol(a, b2) 18 - - AUTHORS: - Mike Hansen 2007-08-27 diff --git a/src/sage/interfaces/mathematica.py b/src/sage/interfaces/mathematica.py index 99b531e80eb..44b3176489e 100644 --- a/src/sage/interfaces/mathematica.py +++ b/src/sage/interfaces/mathematica.py @@ -413,7 +413,6 @@ log(sqrt(1/x^2 + 1) + 1/x), log(sqrt(1/x + 1)*sqrt(1/x - 1) + 1/x), 1/2*log(1/x + 1) - 1/2*log(-1/x + 1)] - """ # **************************************************************************** diff --git a/src/sage/interfaces/mathics.py b/src/sage/interfaces/mathics.py index 48328d1b083..b6ffbd3d4f2 100644 --- a/src/sage/interfaces/mathics.py +++ b/src/sage/interfaces/mathics.py @@ -352,9 +352,6 @@ Thanks to Rocky Bernstein and Juan Mauricio Matera for their support. For further acknowledgments see `this list `__. - - - TESTS: Check that numerical approximations via Mathics's `N[]` function work diff --git a/src/sage/interfaces/maxima.py b/src/sage/interfaces/maxima.py index de0f6aad7fc..dd63daa08a8 100644 --- a/src/sage/interfaces/maxima.py +++ b/src/sage/interfaces/maxima.py @@ -475,8 +475,6 @@ a and (b or c) sage: bar == foo True - - """ # **************************************************************************** diff --git a/src/sage/interfaces/maxima_lib.py b/src/sage/interfaces/maxima_lib.py index 3c23f8a724e..7fadf1e27c1 100644 --- a/src/sage/interfaces/maxima_lib.py +++ b/src/sage/interfaces/maxima_lib.py @@ -96,7 +96,6 @@ ....: os.wait() ....: ''']) sage: tmpdir.cleanup() - """ # **************************************************************************** diff --git a/src/sage/interfaces/mupad.py b/src/sage/interfaces/mupad.py index b4f25622564..cd36a6356cc 100644 --- a/src/sage/interfaces/mupad.py +++ b/src/sage/interfaces/mupad.py @@ -81,7 +81,6 @@ q - t + q t - 1 P[2] + --------------- P[1, 1] q t - 1 - """ # ************************************************************************** diff --git a/src/sage/interfaces/phc.py b/src/sage/interfaces/phc.py index 40b160598fa..23dd8f3546e 100644 --- a/src/sage/interfaces/phc.py +++ b/src/sage/interfaces/phc.py @@ -18,7 +18,6 @@ - Marshall Hampton -- second version of interface to PHC - Marshall Hampton and Alex Jokela -- third version, path tracking - """ # **************************************************************************** diff --git a/src/sage/interfaces/singular.py b/src/sage/interfaces/singular.py index 30d55145835..93a3d5e1c18 100644 --- a/src/sage/interfaces/singular.py +++ b/src/sage/interfaces/singular.py @@ -322,7 +322,6 @@ - Simon King (2011-06-06): Make conversion from Singular to Sage more flexible. - Simon King (2015): Extend pickling capabilities. - """ # **************************************************************************** diff --git a/src/sage/knots/knotinfo.py b/src/sage/knots/knotinfo.py index 8693c671a0a..611d502a3d0 100644 --- a/src/sage/knots/knotinfo.py +++ b/src/sage/knots/knotinfo.py @@ -212,7 +212,6 @@ - `LinkInfo `__ - AUTHORS: - Sebastian Oehms August 2020: initial version diff --git a/src/sage/lfunctions/dokchitser.py b/src/sage/lfunctions/dokchitser.py index 3b291710191..a5b5393fca4 100644 --- a/src/sage/lfunctions/dokchitser.py +++ b/src/sage/lfunctions/dokchitser.py @@ -15,7 +15,6 @@ documentation below is based on Dokchitser's docs). - William Stein (2006-03-08): Sage interface - """ # **************************************************************************** diff --git a/src/sage/lfunctions/pari.py b/src/sage/lfunctions/pari.py index d086a9dfeed..807f48efea6 100644 --- a/src/sage/lfunctions/pari.py +++ b/src/sage/lfunctions/pari.py @@ -6,7 +6,6 @@ AUTHORS: - Frédéric Chapoton (2018) interface - """ # **************************************************************************** # Copyright (C) 2018 Frédéric Chapoton diff --git a/src/sage/lfunctions/zero_sums.pyx b/src/sage/lfunctions/zero_sums.pyx index de549b83afb..ce1d06f118c 100644 --- a/src/sage/lfunctions/zero_sums.pyx +++ b/src/sage/lfunctions/zero_sums.pyx @@ -6,7 +6,6 @@ All computations are done to double precision. AUTHORS: - Simon Spicer (2014-10): first version - """ # **************************************************************************** # Copyright (C) 2014 Simon Spicer diff --git a/src/sage/libs/coxeter3/coxeter.pyx b/src/sage/libs/coxeter3/coxeter.pyx index 9cb3feb8b3f..0ce4f0a9b10 100644 --- a/src/sage/libs/coxeter3/coxeter.pyx +++ b/src/sage/libs/coxeter3/coxeter.pyx @@ -2,7 +2,6 @@ # distutils: libraries = coxeter3 # sage_setup: distribution = sagemath-coxeter3 # sage.doctest: optional - coxeter3 - """ Low level part of the interface to Fokko Ducloux's Coxeter 3 library diff --git a/src/sage/libs/coxeter3/coxeter_group.py b/src/sage/libs/coxeter3/coxeter_group.py index 5653c9adaf7..5fa494d4ea3 100644 --- a/src/sage/libs/coxeter3/coxeter_group.py +++ b/src/sage/libs/coxeter3/coxeter_group.py @@ -1,6 +1,5 @@ # sage_setup: distribution = sagemath-coxeter3 # sage.doctest: optional - coxeter3 - """ Coxeter Groups implemented with Coxeter3 """ diff --git a/src/sage/libs/flint/flint_sage.pyx b/src/sage/libs/flint/flint_sage.pyx index 4098afb9891..922b9574564 100644 --- a/src/sage/libs/flint/flint_sage.pyx +++ b/src/sage/libs/flint/flint_sage.pyx @@ -3,7 +3,6 @@ # WARNING: src/sage/libs/flint/flint_sage.pyx is generated from # src/sage_setup/autogen/flint/templates/flint_sage.pyx.template; # please make sure that you are modifying the correct file! - """ Flint imports diff --git a/src/sage/libs/flint/types.pxd b/src/sage/libs/flint/types.pxd index 9e227fd87b0..b9f3e55a2ac 100644 --- a/src/sage/libs/flint/types.pxd +++ b/src/sage/libs/flint/types.pxd @@ -3,7 +3,6 @@ # WARNING: src/sage/libs/flint/types.pxd is generated from # src/sage_setup/autogen/flint/templates/types.pxd.template # please make sure that you are modifying the correct file! - """ Declarations for FLINT types """ diff --git a/src/sage/libs/giac/misc.h b/src/sage/libs/giac/misc.h index bee90842f5b..af92cf93c9a 100644 --- a/src/sage/libs/giac/misc.h +++ b/src/sage/libs/giac/misc.h @@ -38,7 +38,7 @@ int giacgenrichcmp(gen & a, gen & b, int op, const context * context_ptr){ case 1 : //<= if (is_greater(b,a,context_ptr)) {rep = 1;} break; - case 2 ://== + case 2 ://== if (operator_equal(b,a,context_ptr)) {rep = 1;} break; case 3 ://!= @@ -66,9 +66,9 @@ gen giacdiv(gen & a, gen & b, const context * context_ptr){ gen giacmod(gen & a, gen & b, const context * context_ptr){ if(b != 0) - return eval(a * makemod(1,b),context_ptr); + return eval(a * makemod(1,b),context_ptr); else - return eval(makemod(a,b),context_ptr); + return eval(makemod(a,b),context_ptr); } int htmlbrowserhelp(char * s){ @@ -78,9 +78,6 @@ int htmlbrowserhelp(char * s){ {return 1;} } - - - string browser_help(const giac::gen & g, int language){ giac::gen f(g); string s; @@ -100,20 +97,18 @@ string browser_help(const giac::gen & g, int language){ } - - void archivegen( const string filename, const gen & g, const context * context_ptr){ ofstream of(filename.c_str()); giac::archive(of,g,context_ptr); of.close(); -} +} gen unarchivegen( const string filename, const context * context_ptr){ ifstream f(filename.c_str()); gen g=giac::unarchive(f,context_ptr); f.close(); return g; -} +} #endif diff --git a/src/sage/libs/gsl/chebyshev.pxd b/src/sage/libs/gsl/chebyshev.pxd index 06d2da41732..4978eb5af31 100644 --- a/src/sage/libs/gsl/chebyshev.pxd +++ b/src/sage/libs/gsl/chebyshev.pxd @@ -30,7 +30,6 @@ cdef extern from "gsl/gsl_chebyshev.h": int gsl_cheb_eval_mode_e( gsl_cheb_series * cs, double x, gsl_mode_t mode, double * result, double * abserr) - int gsl_cheb_calc_deriv(gsl_cheb_series * deriv, gsl_cheb_series * cs) int gsl_cheb_calc_integ(gsl_cheb_series * integ, gsl_cheb_series * cs) diff --git a/src/sage/libs/gsl/complex.pxd b/src/sage/libs/gsl/complex.pxd index 87fd3957b62..fbdccf67988 100644 --- a/src/sage/libs/gsl/complex.pxd +++ b/src/sage/libs/gsl/complex.pxd @@ -148,6 +148,3 @@ cdef extern from "gsl/gsl_complex_math.h": gsl_complex gsl_complex_arccsch(gsl_complex z) gsl_complex gsl_complex_arccoth(gsl_complex z) - - - diff --git a/src/sage/libs/gsl/fit.pxd b/src/sage/libs/gsl/fit.pxd index 7a052d157dd..581b2423838 100644 --- a/src/sage/libs/gsl/fit.pxd +++ b/src/sage/libs/gsl/fit.pxd @@ -39,7 +39,6 @@ cdef extern from "gsl/gsl_fit.h": double *y, double *y_err) - int gsl_fit_poly ( double * x, double * w, double * y, size_t n, double * c, size_t m, double * chisq) diff --git a/src/sage/libs/gsl/histogram.pxd b/src/sage/libs/gsl/histogram.pxd index 6e83a5e48a8..57cf2cca7bb 100644 --- a/src/sage/libs/gsl/histogram.pxd +++ b/src/sage/libs/gsl/histogram.pxd @@ -30,7 +30,6 @@ cdef extern from "gsl/gsl_histogram.h": int gsl_histogram_set_ranges_uniform (gsl_histogram * h, double xmin, double xmax) - int gsl_histogram_memcpy(gsl_histogram * dest, gsl_histogram * source) gsl_histogram * gsl_histogram_clone( gsl_histogram * source) diff --git a/src/sage/libs/gsl/interp.pxd b/src/sage/libs/gsl/interp.pxd index c64fa0bd4f7..1dbbef6a4ba 100644 --- a/src/sage/libs/gsl/interp.pxd +++ b/src/sage/libs/gsl/interp.pxd @@ -74,7 +74,6 @@ cdef extern from "gsl/gsl_interp.h": size_t index_lo, size_t index_hi) - cdef extern from "gsl/gsl_spline.h": ctypedef struct gsl_spline diff --git a/src/sage/libs/gsl/linalg.pxd b/src/sage/libs/gsl/linalg.pxd index 389ec2e7997..039a456174c 100644 --- a/src/sage/libs/gsl/linalg.pxd +++ b/src/sage/libs/gsl/linalg.pxd @@ -81,7 +81,6 @@ cdef extern from "gsl/gsl_linalg.h": gsl_complex gsl_linalg_complex_LU_sgndet(gsl_matrix_complex * LU, int signum) - # QR decomposition int gsl_linalg_QR_decomp(gsl_matrix * A, gsl_vector * tau) diff --git a/src/sage/libs/gsl/matrix_complex.pxd b/src/sage/libs/gsl/matrix_complex.pxd index 6cbc983a45e..651887f47f5 100644 --- a/src/sage/libs/gsl/matrix_complex.pxd +++ b/src/sage/libs/gsl/matrix_complex.pxd @@ -85,7 +85,6 @@ cdef extern from "gsl/gsl_matrix_complex_double.h": int gsl_matrix_complex_fprintf(FILE * stream, gsl_matrix_complex * m, char * format) - # Copying or exchanging elements int gsl_matrix_complex_memcpy(gsl_matrix_complex * dest, gsl_matrix_complex * src) diff --git a/src/sage/libs/gsl/odeiv.pxd b/src/sage/libs/gsl/odeiv.pxd index 25924ff86aa..38044949298 100644 --- a/src/sage/libs/gsl/odeiv.pxd +++ b/src/sage/libs/gsl/odeiv.pxd @@ -14,8 +14,6 @@ cdef extern from "gsl/gsl_odeiv.h": #define GSL_ODEIV_JA_EVAL(S,t,y,dfdy,dfdt) (*((S)->jacobian))(t,y,dfdy,dfdt,(S)->params) - - ctypedef struct gsl_odeiv_step_type ctypedef struct gsl_odeiv_step diff --git a/src/sage/libs/gsl/permutation.pxd b/src/sage/libs/gsl/permutation.pxd index 49b10e0611d..3419d33576a 100644 --- a/src/sage/libs/gsl/permutation.pxd +++ b/src/sage/libs/gsl/permutation.pxd @@ -58,7 +58,6 @@ cdef extern from "gsl/gsl_permutation.h": size_t gsl_permutation_canonical_cycles(gsl_permutation * q) - # Applying Permutations cdef extern from "gsl/gsl_permute_double.h": int gsl_permute(size_t * p, double * data, size_t stride, size_t n) diff --git a/src/sage/libs/linkages/padics/Polynomial_ram.pxi b/src/sage/libs/linkages/padics/Polynomial_ram.pxi index c65760bd67f..687b5a5cf15 100644 --- a/src/sage/libs/linkages/padics/Polynomial_ram.pxi +++ b/src/sage/libs/linkages/padics/Polynomial_ram.pxi @@ -15,7 +15,6 @@ is independent of ramification is in Polynomial_shared.pxi. AUTHORS: - David Roe, Julian Rüth (2017-06-11): initial version - """ # **************************************************************************** # Copyright (C) 2017 David Roe diff --git a/src/sage/libs/linkages/padics/Polynomial_shared.pxi b/src/sage/libs/linkages/padics/Polynomial_shared.pxi index 367bbc2f33d..b88b928a347 100644 --- a/src/sage/libs/linkages/padics/Polynomial_shared.pxi +++ b/src/sage/libs/linkages/padics/Polynomial_shared.pxi @@ -14,7 +14,6 @@ where functions that depend on the ramification of the defining polynomial are p AUTHORS: - David Roe, Julian Rüth (2017-06-11): initial version - """ #***************************************************************************** # Copyright (C) 2017 David Roe diff --git a/src/sage/libs/linkages/padics/fmpz_poly_unram.pxi b/src/sage/libs/linkages/padics/fmpz_poly_unram.pxi index 2171b426911..fcacaa024d9 100644 --- a/src/sage/libs/linkages/padics/fmpz_poly_unram.pxi +++ b/src/sage/libs/linkages/padics/fmpz_poly_unram.pxi @@ -5,7 +5,6 @@ using FLINT's fmpz_poly_t. AUTHORS: - David Roe, Julian Rueth (2013-03-21) -- initial version - """ #***************************************************************************** # Copyright (C) 2013 David Roe diff --git a/src/sage/libs/lrcalc/lrcalc.py b/src/sage/libs/lrcalc/lrcalc.py index cd9248f59d9..b3c788ba57f 100644 --- a/src/sage/libs/lrcalc/lrcalc.py +++ b/src/sage/libs/lrcalc/lrcalc.py @@ -176,7 +176,6 @@ - Anne Schilling, Nicolas M. Thiéry, and Anders Buch (2011): fusion product, iterating through LR tableaux, finalization, documentation - """ # **************************************************************************** # Copyright (C) 2010 Mike Hansen diff --git a/src/sage/libs/m4rie.pxd b/src/sage/libs/m4rie.pxd index 4bc99aba4d7..51bbf8303d9 100644 --- a/src/sage/libs/m4rie.pxd +++ b/src/sage/libs/m4rie.pxd @@ -8,7 +8,6 @@ from sage.libs.m4ri cimport mzd_t, m4ri_word - cdef extern from "m4rie/m4rie.h": ctypedef struct gf2e: int degree diff --git a/src/sage/libs/ntl/conversion.pxd b/src/sage/libs/ntl/conversion.pxd index e46cc66284e..81801682d51 100644 --- a/src/sage/libs/ntl/conversion.pxd +++ b/src/sage/libs/ntl/conversion.pxd @@ -8,7 +8,6 @@ conventions for conversion functions - ``new_sage_XXX`` : create a new Sage object - ``set_ntl_XXX`` : set the entries of the ntl object - ``set_sage_XXX`` : set the entries of the Sage object - """ #***************************************************************************** # Copyright (C) 2007 Martin Albrecht diff --git a/src/sage/libs/ntl/convert.pyx b/src/sage/libs/ntl/convert.pyx index 5924c9f2e79..e3ccfce819d 100644 --- a/src/sage/libs/ntl/convert.pyx +++ b/src/sage/libs/ntl/convert.pyx @@ -5,7 +5,6 @@ # distutils: library_dirs = NTL_LIBDIR # distutils: extra_link_args = NTL_LIBEXTRA # distutils: language = c++ - """ Conversion between NTL's ``ZZ`` and various other types """ diff --git a/src/sage/libs/ntl/error.pyx b/src/sage/libs/ntl/error.pyx index c729cd4c1fb..325995f0706 100644 --- a/src/sage/libs/ntl/error.pyx +++ b/src/sage/libs/ntl/error.pyx @@ -5,7 +5,6 @@ # distutils: library_dirs = NTL_LIBDIR # distutils: extra_link_args = NTL_LIBEXTRA # distutils: language = c++ - """ NTL error handler diff --git a/src/sage/libs/ntl/ntl_lzz_p.pyx b/src/sage/libs/ntl/ntl_lzz_p.pyx index af86b9bcf69..632252e8960 100644 --- a/src/sage/libs/ntl/ntl_lzz_p.pyx +++ b/src/sage/libs/ntl/ntl_lzz_p.pyx @@ -4,7 +4,6 @@ # distutils: library_dirs = NTL_LIBDIR # distutils: extra_link_args = NTL_LIBEXTRA # distutils: language = c++ - """ ntl_lzz_p.pyx diff --git a/src/sage/libs/ntl/ntl_lzz_pX.pyx b/src/sage/libs/ntl/ntl_lzz_pX.pyx index cd6037a033d..46537024353 100644 --- a/src/sage/libs/ntl/ntl_lzz_pX.pyx +++ b/src/sage/libs/ntl/ntl_lzz_pX.pyx @@ -4,7 +4,6 @@ # distutils: library_dirs = NTL_LIBDIR # distutils: extra_link_args = NTL_LIBEXTRA # distutils: language = c++ - """ ntl_lzz_pX.pyx diff --git a/src/sage/libs/pari/__init__.py b/src/sage/libs/pari/__init__.py index 44d159ef3c1..ccb18792918 100644 --- a/src/sage/libs/pari/__init__.py +++ b/src/sage/libs/pari/__init__.py @@ -171,7 +171,6 @@ sage: eta1.sage() 3.605463601432652085915820564207726774810268996598024745444380641429820491740 # 64-bit 3.60546360143265208591582056420772677481026899659802474544 # 32-bit - """ def _get_pari_instance(): diff --git a/src/sage/libs/singular/decl.pxd b/src/sage/libs/singular/decl.pxd index 3affdb34e11..320044a9372 100644 --- a/src/sage/libs/singular/decl.pxd +++ b/src/sage/libs/singular/decl.pxd @@ -4,7 +4,6 @@ # distutils: library_dirs = SINGULAR_LIBDIR # distutils: language = c++ # distutils: extra_compile_args = -std=c++11 - """ Declarations of Singular's C/C++ Functions @@ -17,7 +16,6 @@ Declarations of Singular's C/C++ Functions AUTHOR: - Martin Albrecht (2009-07): initial implementation - """ #***************************************************************************** # Copyright (C) 2009 Martin Albrecht @@ -154,7 +152,6 @@ cdef extern from "singular/Singular/libsingular.h": void (*cfNormalize)(number* a, const n_Procs_s* r) - bint (*cfDivBy)(number* a, number* b, const n_Procs_s* r) bint (*cfEqual)(number* a,number* b, const n_Procs_s* ) bint (*cfIsZero)(number* a, const n_Procs_s* ) # algebraic number comparison with zero @@ -1171,7 +1168,3 @@ cdef extern from "singular/kernel/GBEngine/syz.h": cdef extern from "singular/polys/ext_fields/transext.h": ctypedef struct TransExtInfo: ring * r - - - - diff --git a/src/sage/libs/singular/function.pyx b/src/sage/libs/singular/function.pyx index 789ccfcafa9..a3b13cac604 100644 --- a/src/sage/libs/singular/function.pyx +++ b/src/sage/libs/singular/function.pyx @@ -61,7 +61,6 @@ AUTHORS: - Martin Albrecht (2010-01): clean up, support for attributes - Simon King (2011-04): include the documentation provided by Singular as a code block - Burcin Erocal, Michael Brickenstein, Oleksandr Motsak, Alexander Dreyer, Simon King (2011-09): plural support - """ #***************************************************************************** diff --git a/src/sage/libs/singular/ring.pxd b/src/sage/libs/singular/ring.pxd index 55403521886..09bfe5fc8a9 100644 --- a/src/sage/libs/singular/ring.pxd +++ b/src/sage/libs/singular/ring.pxd @@ -44,7 +44,6 @@ from sage.libs.singular.decl cimport ring # do_something_with(self.parent.ring) # segfault - # create a new singular ring cdef ring *singular_ring_new(base_ring, n, names, term_order) except NULL diff --git a/src/sage/libs/symmetrica/kostka.pxi b/src/sage/libs/symmetrica/kostka.pxi index 690e5d5a096..d69aefc7c2c 100644 --- a/src/sage/libs/symmetrica/kostka.pxi +++ b/src/sage/libs/symmetrica/kostka.pxi @@ -98,7 +98,6 @@ def kostka_tab_symmetrica(shape, content): _op_partition(shape, cshape) - #Check to make sure the content is compatible with the shape. _op_il_vector(content, ccontent) diff --git a/src/sage/libs/symmetrica/sab.pxi b/src/sage/libs/symmetrica/sab.pxi index de2838e7ed5..b7900106b35 100644 --- a/src/sage/libs/symmetrica/sab.pxi +++ b/src/sage/libs/symmetrica/sab.pxi @@ -62,7 +62,6 @@ def bdg_symmetrica(part, perm): freeall(cD) - def sdg_symmetrica(part, perm): """ Calculates the irreducible matrix representation @@ -90,8 +89,6 @@ def sdg_symmetrica(part, perm): freeall(cperm) freeall(cD) - - return res def odg_symmetrica(part, perm): @@ -121,8 +118,6 @@ def odg_symmetrica(part, perm): freeall(cperm) freeall(cD) - - return res @@ -147,8 +142,6 @@ def ndg_symmetrica(part, perm): freeall(cperm) freeall(cD) - - return res def specht_dg_symmetrica(part, perm): @@ -172,8 +165,6 @@ def specht_dg_symmetrica(part, perm): freeall(cperm) freeall(cD) - - return res @@ -191,8 +182,6 @@ def specht_dg_symmetrica(part, perm): ## """ ## cdef OP cm, cn, cM -## - ## cm = callocobject() ## _op_integer(m, cm) @@ -201,8 +190,6 @@ def specht_dg_symmetrica(part, perm): ## cM = callocobject() - - ## glmndg(cm, cn, cM, VAR) ## res = _py(cM) @@ -211,6 +198,4 @@ def specht_dg_symmetrica(part, perm): ## freeall(cn) ## freeall(cM) -## - ## return res diff --git a/src/sage/libs/symmetrica/schur.pxi b/src/sage/libs/symmetrica/schur.pxi index 501acf5b7e0..82e77d0d251 100644 --- a/src/sage/libs/symmetrica/schur.pxi +++ b/src/sage/libs/symmetrica/schur.pxi @@ -483,7 +483,6 @@ def t_SCHUR_MONOMIAL_symmetrica(schur): return res - def t_SCHUR_HOMSYM_symmetrica(schur): """ """ @@ -568,9 +567,6 @@ def t_POLYNOM_SCHUR_symmetrica(p): return res - - - def t_MONOMIAL_HOMSYM_symmetrica(monomial): """ @@ -739,7 +735,6 @@ def t_ELMSYM_MONOMIAL_symmetrica(elmsym): return res - def t_ELMSYM_HOMSYM_symmetrica(elmsym): """ @@ -784,7 +779,6 @@ def t_POLYNOM_ELMSYM_symmetrica(p): return res - def t_HOMSYM_SCHUR_symmetrica(homsym): """ @@ -826,8 +820,6 @@ def t_HOMSYM_POWSYM_symmetrica(homsym): return res - - def t_HOMSYM_MONOMIAL_symmetrica(homsym): """ @@ -869,7 +861,6 @@ def t_HOMSYM_ELMSYM_symmetrica(homsym): return res - def t_POWSYM_MONOMIAL_symmetrica(powsym): """ @@ -891,8 +882,6 @@ def t_POWSYM_MONOMIAL_symmetrica(powsym): return res - - def t_POWSYM_SCHUR_symmetrica(powsym): """ @@ -998,7 +987,6 @@ def mult_schur_schur_symmetrica(s1, s2): return res - def mult_monomial_monomial_symmetrica(m1, m2): """ """ @@ -1020,7 +1008,6 @@ def mult_monomial_monomial_symmetrica(m1, m2): return res - def scalarproduct_schur_symmetrica(s1, s2): cdef OP cs1 = callocobject(), cs2 = callocobject(), cresult = callocobject() diff --git a/src/sage/libs/symmetrica/symmetrica.pxi b/src/sage/libs/symmetrica/symmetrica.pxi index 2bdb51f1a8e..1dbe23a6675 100644 --- a/src/sage/libs/symmetrica/symmetrica.pxi +++ b/src/sage/libs/symmetrica/symmetrica.pxi @@ -240,7 +240,6 @@ cdef extern from 'symmetrica/macro.h': data n_data - #MACROS #S_PA_I(OP a, INT i) OBJECTKIND s_o_k(OP a) @@ -616,7 +615,6 @@ cdef object _py_longint(OP a): return res - ########### #Fractions# ########### @@ -861,7 +859,6 @@ cdef object _op_polynom(object d, OP res): return None - ####################################### #Schur symmetric functions and friends# ####################################### @@ -1018,7 +1015,6 @@ cdef void* _op_schur_general_dict(object d, OP res) noexcept: insert(next, res, NULL, NULL) - ###################### #Schubert Polynomials# ###################### @@ -1170,8 +1166,6 @@ cdef object _py_tableau(OP t): return Tableau(res) - - def start(): anfang() diff --git a/src/sage/logic/boolformula.py b/src/sage/logic/boolformula.py index 65fb283adbe..304664e79ba 100644 --- a/src/sage/logic/boolformula.py +++ b/src/sage/logic/boolformula.py @@ -121,7 +121,6 @@ - Paul Scurek (2013-08-08): added :meth:`~sage.logic.boolformula.BooleanFormula.implies()` - """ # ***************************************************************************** # Copyright (C) 2006 William Stein diff --git a/src/sage/manifolds/calculus_method.py b/src/sage/manifolds/calculus_method.py index ddbad8a11ef..859301365bf 100644 --- a/src/sage/manifolds/calculus_method.py +++ b/src/sage/manifolds/calculus_method.py @@ -9,7 +9,6 @@ - Marco Mancini (2017): initial version - Eric Gourgoulhon (2019): add :meth:`~CalculusMethod.set_simplify_function` and various accessors - """ # ***************************************************************************** diff --git a/src/sage/manifolds/chart.py b/src/sage/manifolds/chart.py index 5c7d51ee049..d8e4051b0f4 100644 --- a/src/sage/manifolds/chart.py +++ b/src/sage/manifolds/chart.py @@ -22,7 +22,6 @@ - Chap. 2 of [Lee2011]_ - Chap. 1 of [Lee2013]_ - """ # **************************************************************************** diff --git a/src/sage/manifolds/chart_func.py b/src/sage/manifolds/chart_func.py index 6363ed61841..454f6489441 100644 --- a/src/sage/manifolds/chart_func.py +++ b/src/sage/manifolds/chart_func.py @@ -22,7 +22,6 @@ calculus (CoordFunctionSymb) - Florentin Jaffredo (2018) : series expansion with respect to a given parameter - """ # **************************************************************************** # Copyright (C) 2017 Marco Mancini @@ -1313,9 +1312,6 @@ def _add_(self, other): (x, y) ↦ 2*x + y**2 sage: (f + -f).display() (x, y) ↦ 0 - - - """ curr = self._calc_method._current if other._expansion_symbol is not None: diff --git a/src/sage/manifolds/continuous_map.py b/src/sage/manifolds/continuous_map.py index dc9f9b5d12c..56f1ee139bd 100644 --- a/src/sage/manifolds/continuous_map.py +++ b/src/sage/manifolds/continuous_map.py @@ -14,7 +14,6 @@ - Chap. 1 of [KN1963]_ - [Lee2011]_ - """ # **************************************************************************** diff --git a/src/sage/manifolds/continuous_map_image.py b/src/sage/manifolds/continuous_map_image.py index 303117f7978..c2ccb64f7a1 100644 --- a/src/sage/manifolds/continuous_map_image.py +++ b/src/sage/manifolds/continuous_map_image.py @@ -5,7 +5,6 @@ from a manifold `M` to some manifold `N` as a subset `\Phi(M)` of `N`, or more generally, the image `\Phi(S)` of a subset `S \subseteq M` as a subset of `N`. - """ # **************************************************************************** diff --git a/src/sage/manifolds/differentiable/affine_connection.py b/src/sage/manifolds/differentiable/affine_connection.py index 5a3dc99ae6c..fce8737df84 100644 --- a/src/sage/manifolds/differentiable/affine_connection.py +++ b/src/sage/manifolds/differentiable/affine_connection.py @@ -16,7 +16,6 @@ - [Lee1997]_ - [KN1963]_ - [ONe1983]_ - """ # ***************************************************************************** # Copyright (C) 2015 Eric Gourgoulhon diff --git a/src/sage/manifolds/differentiable/automorphismfield.py b/src/sage/manifolds/differentiable/automorphismfield.py index 89cc87aef32..04d099b4e4e 100644 --- a/src/sage/manifolds/differentiable/automorphismfield.py +++ b/src/sage/manifolds/differentiable/automorphismfield.py @@ -12,7 +12,6 @@ - Eric Gourgoulhon (2015): initial version - Travis Scrimshaw (2016): review tweaks - """ # ***************************************************************************** diff --git a/src/sage/manifolds/differentiable/automorphismfield_group.py b/src/sage/manifolds/differentiable/automorphismfield_group.py index c0e782798aa..273deab226d 100644 --- a/src/sage/manifolds/differentiable/automorphismfield_group.py +++ b/src/sage/manifolds/differentiable/automorphismfield_group.py @@ -26,7 +26,6 @@ REFERENCES: - Chap. 15 of [God1968]_ - """ #****************************************************************************** diff --git a/src/sage/manifolds/differentiable/bundle_connection.py b/src/sage/manifolds/differentiable/bundle_connection.py index 8870b408d35..c4ae9379aca 100644 --- a/src/sage/manifolds/differentiable/bundle_connection.py +++ b/src/sage/manifolds/differentiable/bundle_connection.py @@ -28,7 +28,6 @@ AUTHORS: - Michael Jung (2019) : initial version - """ # ****************************************************************************** # Copyright (C) 2019 Michael Jung diff --git a/src/sage/manifolds/differentiable/characteristic_cohomology_class.py b/src/sage/manifolds/differentiable/characteristic_cohomology_class.py index 91ebbf00ccc..819b4ef7263 100644 --- a/src/sage/manifolds/differentiable/characteristic_cohomology_class.py +++ b/src/sage/manifolds/differentiable/characteristic_cohomology_class.py @@ -269,7 +269,6 @@ As we can see, the integral coincides with the Euler characteristic of `S^2` so that our form actually represents the Euler class appropriately. - """ # ***************************************************************************** diff --git a/src/sage/manifolds/differentiable/chart.py b/src/sage/manifolds/differentiable/chart.py index a40ebb8e5b2..cbdad556734 100644 --- a/src/sage/manifolds/differentiable/chart.py +++ b/src/sage/manifolds/differentiable/chart.py @@ -20,7 +20,6 @@ REFERENCES: - Chap. 1 of [Lee2013]_ - """ # **************************************************************************** # Copyright (C) 2015 Eric Gourgoulhon diff --git a/src/sage/manifolds/differentiable/curve.py b/src/sage/manifolds/differentiable/curve.py index 7ea264565ae..05e26c17023 100644 --- a/src/sage/manifolds/differentiable/curve.py +++ b/src/sage/manifolds/differentiable/curve.py @@ -21,7 +21,6 @@ - Chap. 1 of [KN1963]_ - Chap. 3 of [Lee2013]_ - """ #***************************************************************************** diff --git a/src/sage/manifolds/differentiable/de_rham_cohomology.py b/src/sage/manifolds/differentiable/de_rham_cohomology.py index 830bb558ecd..1e38b50f753 100644 --- a/src/sage/manifolds/differentiable/de_rham_cohomology.py +++ b/src/sage/manifolds/differentiable/de_rham_cohomology.py @@ -34,7 +34,6 @@ AUTHORS: - Michael Jung (2021) : initial version - """ #****************************************************************************** diff --git a/src/sage/manifolds/differentiable/degenerate_submanifold.py b/src/sage/manifolds/differentiable/degenerate_submanifold.py index 581162b88f5..0a146853e22 100644 --- a/src/sage/manifolds/differentiable/degenerate_submanifold.py +++ b/src/sage/manifolds/differentiable/degenerate_submanifold.py @@ -145,7 +145,6 @@ - [DB1996]_ - [DS2010]_ - [FNO2019]_ - """ # ***************************************************************************** # Copyright (C) 2019 Hans Fotsing Tetsing diff --git a/src/sage/manifolds/differentiable/diff_form.py b/src/sage/manifolds/differentiable/diff_form.py index 0fc837b8cc4..bb1c0e3d341 100644 --- a/src/sage/manifolds/differentiable/diff_form.py +++ b/src/sage/manifolds/differentiable/diff_form.py @@ -29,7 +29,6 @@ - [KN1963]_ - [Lee2013]_ - """ # ***************************************************************************** diff --git a/src/sage/manifolds/differentiable/diff_form_module.py b/src/sage/manifolds/differentiable/diff_form_module.py index b10de21c07c..e5497762adb 100644 --- a/src/sage/manifolds/differentiable/diff_form_module.py +++ b/src/sage/manifolds/differentiable/diff_form_module.py @@ -25,7 +25,6 @@ - [KN1963]_ - [Lee2013]_ - """ # ***************************************************************************** # Copyright (C) 2015-2021 Eric Gourgoulhon diff --git a/src/sage/manifolds/differentiable/diff_map.py b/src/sage/manifolds/differentiable/diff_map.py index 1c2d71d23b4..5e24f678fe3 100644 --- a/src/sage/manifolds/differentiable/diff_map.py +++ b/src/sage/manifolds/differentiable/diff_map.py @@ -19,7 +19,6 @@ - Chap. 1 of [KN1963]_ - Chaps. 2 and 3 of [Lee2013]_ - """ # **************************************************************************** diff --git a/src/sage/manifolds/differentiable/differentiable_submanifold.py b/src/sage/manifolds/differentiable/differentiable_submanifold.py index aec0dce99e8..06e861c98d0 100644 --- a/src/sage/manifolds/differentiable/differentiable_submanifold.py +++ b/src/sage/manifolds/differentiable/differentiable_submanifold.py @@ -24,7 +24,6 @@ REFERENCES: - \J. M. Lee: *Introduction to Smooth Manifolds* [Lee2013]_ - """ # ***************************************************************************** diff --git a/src/sage/manifolds/differentiable/examples/euclidean.py b/src/sage/manifolds/differentiable/examples/euclidean.py index eb96b6da587..ce98e4bc643 100644 --- a/src/sage/manifolds/differentiable/examples/euclidean.py +++ b/src/sage/manifolds/differentiable/examples/euclidean.py @@ -397,7 +397,6 @@ REFERENCES: - \M. Berger: *Geometry I* [Ber1987]_ - """ #***************************************************************************** diff --git a/src/sage/manifolds/differentiable/examples/real_line.py b/src/sage/manifolds/differentiable/examples/real_line.py index 5ff4f969b49..be587304cfc 100644 --- a/src/sage/manifolds/differentiable/examples/real_line.py +++ b/src/sage/manifolds/differentiable/examples/real_line.py @@ -13,7 +13,6 @@ REFERENCES: - [Lee2013]_ - """ #***************************************************************************** # Copyright (C) 2015 Eric Gourgoulhon diff --git a/src/sage/manifolds/differentiable/examples/sphere.py b/src/sage/manifolds/differentiable/examples/sphere.py index 4ccc6f7440b..387a31c10bc 100644 --- a/src/sage/manifolds/differentiable/examples/sphere.py +++ b/src/sage/manifolds/differentiable/examples/sphere.py @@ -163,7 +163,6 @@ sage: eps = g.volume_form() sage: eps.display() eps_g = -dchi - """ from sage.manifolds.differentiable.pseudo_riemannian_submanifold import \ diff --git a/src/sage/manifolds/differentiable/examples/symplectic_space.py b/src/sage/manifolds/differentiable/examples/symplectic_space.py index 623979ed7f3..be02c965fe7 100644 --- a/src/sage/manifolds/differentiable/examples/symplectic_space.py +++ b/src/sage/manifolds/differentiable/examples/symplectic_space.py @@ -4,7 +4,6 @@ AUTHORS: - Tobias Diez (2021): initial version - """ # ***************************************************************************** diff --git a/src/sage/manifolds/differentiable/integrated_curve.py b/src/sage/manifolds/differentiable/integrated_curve.py index b67e3da7fea..3976f7c4b9d 100644 --- a/src/sage/manifolds/differentiable/integrated_curve.py +++ b/src/sage/manifolds/differentiable/integrated_curve.py @@ -95,7 +95,6 @@ - Karim Van Aelst (2017): initial version - Florentin Jaffredo (2018): integration over multiple charts, use of ``fast_callable`` to improve the computation speed - """ # ********************************************************************** diff --git a/src/sage/manifolds/differentiable/levi_civita_connection.py b/src/sage/manifolds/differentiable/levi_civita_connection.py index d2d36db90bd..6b40a99d440 100644 --- a/src/sage/manifolds/differentiable/levi_civita_connection.py +++ b/src/sage/manifolds/differentiable/levi_civita_connection.py @@ -17,7 +17,6 @@ - [KN1963]_ - [Lee1997]_ - [ONe1983]_ - """ #****************************************************************************** # Copyright (C) 2015 Eric Gourgoulhon diff --git a/src/sage/manifolds/differentiable/manifold.py b/src/sage/manifolds/differentiable/manifold.py index 4ef5984ed18..4f60c415293 100644 --- a/src/sage/manifolds/differentiable/manifold.py +++ b/src/sage/manifolds/differentiable/manifold.py @@ -420,7 +420,6 @@ - [Ser1992]_ - [Ber2008]_ - [BG1988]_ - """ # **************************************************************************** diff --git a/src/sage/manifolds/differentiable/manifold_homset.py b/src/sage/manifolds/differentiable/manifold_homset.py index 20660a01652..90759e74afa 100644 --- a/src/sage/manifolds/differentiable/manifold_homset.py +++ b/src/sage/manifolds/differentiable/manifold_homset.py @@ -32,7 +32,6 @@ - [Lee2013]_ - [KN1963]_ - """ #****************************************************************************** # Copyright (C) 2015 Eric Gourgoulhon diff --git a/src/sage/manifolds/differentiable/metric.py b/src/sage/manifolds/differentiable/metric.py index 460dd5e04cb..4b4c6cf1a37 100644 --- a/src/sage/manifolds/differentiable/metric.py +++ b/src/sage/manifolds/differentiable/metric.py @@ -27,7 +27,6 @@ - [ONe1983]_ - [DB1996]_ - [DS2010]_ - """ # ***************************************************************************** # Copyright (C) 2015 Eric Gourgoulhon diff --git a/src/sage/manifolds/differentiable/mixed_form_algebra.py b/src/sage/manifolds/differentiable/mixed_form_algebra.py index 15bd856c476..8266b19e172 100644 --- a/src/sage/manifolds/differentiable/mixed_form_algebra.py +++ b/src/sage/manifolds/differentiable/mixed_form_algebra.py @@ -17,7 +17,6 @@ AUTHORS: - Michael Jung (2019) : initial version - """ #****************************************************************************** diff --git a/src/sage/manifolds/differentiable/multivector_module.py b/src/sage/manifolds/differentiable/multivector_module.py index 83c741fa8af..51264368ccd 100644 --- a/src/sage/manifolds/differentiable/multivector_module.py +++ b/src/sage/manifolds/differentiable/multivector_module.py @@ -22,7 +22,6 @@ - \R. L. Bishop and S. L. Goldberg (1980) [BG1980]_ - \C.-M. Marle (1997) [Mar1997]_ - """ #****************************************************************************** # Copyright (C) 2017 Eric Gourgoulhon diff --git a/src/sage/manifolds/differentiable/multivectorfield.py b/src/sage/manifolds/differentiable/multivectorfield.py index 8de30fdd711..1d15c4cae41 100644 --- a/src/sage/manifolds/differentiable/multivectorfield.py +++ b/src/sage/manifolds/differentiable/multivectorfield.py @@ -25,7 +25,6 @@ - \R. L. Bishop and S. L. Goldberg (1980) [BG1980]_ - \C.-M. Marle (1997) [Mar1997]_ - """ # ***************************************************************************** diff --git a/src/sage/manifolds/differentiable/pseudo_riemannian.py b/src/sage/manifolds/differentiable/pseudo_riemannian.py index 3b811883cd6..8d3578cfe1f 100644 --- a/src/sage/manifolds/differentiable/pseudo_riemannian.py +++ b/src/sage/manifolds/differentiable/pseudo_riemannian.py @@ -256,7 +256,6 @@ - \B. O'Neill : *Semi-Riemannian Geometry* [ONe1983]_ - \J. M. Lee : *Riemannian Manifolds* [Lee1997]_ - """ #***************************************************************************** diff --git a/src/sage/manifolds/differentiable/pseudo_riemannian_submanifold.py b/src/sage/manifolds/differentiable/pseudo_riemannian_submanifold.py index 219ccfc580e..996364cf188 100644 --- a/src/sage/manifolds/differentiable/pseudo_riemannian_submanifold.py +++ b/src/sage/manifolds/differentiable/pseudo_riemannian_submanifold.py @@ -176,7 +176,6 @@ - \B. O'Neill : *Semi-Riemannian Geometry* [ONe1983]_ - \J. M. Lee : *Riemannian Manifolds* [Lee1997]_ - """ # ***************************************************************************** diff --git a/src/sage/manifolds/differentiable/scalarfield.py b/src/sage/manifolds/differentiable/scalarfield.py index ba5c5d70f2c..179909868a8 100644 --- a/src/sage/manifolds/differentiable/scalarfield.py +++ b/src/sage/manifolds/differentiable/scalarfield.py @@ -24,7 +24,6 @@ - [KN1963]_ - [Lee2013]_ - [ONe1983]_ - """ #****************************************************************************** diff --git a/src/sage/manifolds/differentiable/scalarfield_algebra.py b/src/sage/manifolds/differentiable/scalarfield_algebra.py index 44e6e16bff4..3ee079f5720 100644 --- a/src/sage/manifolds/differentiable/scalarfield_algebra.py +++ b/src/sage/manifolds/differentiable/scalarfield_algebra.py @@ -18,7 +18,6 @@ class `C^k` over a topological field `K` (in - [KN1963]_ - [Lee2013]_ - [ONe1983]_ - """ #****************************************************************************** diff --git a/src/sage/manifolds/differentiable/symplectic_form.py b/src/sage/manifolds/differentiable/symplectic_form.py index 765d6cf1579..aa0f0caac73 100644 --- a/src/sage/manifolds/differentiable/symplectic_form.py +++ b/src/sage/manifolds/differentiable/symplectic_form.py @@ -14,7 +14,6 @@ - [AM1990]_ - [RS2012]_ - """ # ***************************************************************************** # Distributed under the terms of the GNU General Public License (GPL) diff --git a/src/sage/manifolds/differentiable/tangent_space.py b/src/sage/manifolds/differentiable/tangent_space.py index a938d77e237..62cf268094e 100644 --- a/src/sage/manifolds/differentiable/tangent_space.py +++ b/src/sage/manifolds/differentiable/tangent_space.py @@ -12,7 +12,6 @@ REFERENCES: - Chap. 3 of [Lee2013]_ - """ #****************************************************************************** diff --git a/src/sage/manifolds/differentiable/tangent_vector.py b/src/sage/manifolds/differentiable/tangent_vector.py index 97abcea54e1..d7a18d51e5f 100644 --- a/src/sage/manifolds/differentiable/tangent_vector.py +++ b/src/sage/manifolds/differentiable/tangent_vector.py @@ -12,7 +12,6 @@ REFERENCES: - Chap. 3 of [Lee2013]_ - """ # ***************************************************************************** diff --git a/src/sage/manifolds/differentiable/tensorfield.py b/src/sage/manifolds/differentiable/tensorfield.py index d2135c1e5a9..2a958a20640 100644 --- a/src/sage/manifolds/differentiable/tensorfield.py +++ b/src/sage/manifolds/differentiable/tensorfield.py @@ -38,7 +38,6 @@ - [KN1963]_ - [Lee2013]_ - [ONe1983]_ - """ # ***************************************************************************** diff --git a/src/sage/manifolds/differentiable/tensorfield_module.py b/src/sage/manifolds/differentiable/tensorfield_module.py index 8d31d670137..42d921327e8 100644 --- a/src/sage/manifolds/differentiable/tensorfield_module.py +++ b/src/sage/manifolds/differentiable/tensorfield_module.py @@ -23,7 +23,6 @@ - [KN1963]_ - [Lee2013]_ - [ONe1983]_ - """ # ***************************************************************************** diff --git a/src/sage/manifolds/differentiable/tensorfield_paral.py b/src/sage/manifolds/differentiable/tensorfield_paral.py index 7cf7c40896c..188f9970e24 100644 --- a/src/sage/manifolds/differentiable/tensorfield_paral.py +++ b/src/sage/manifolds/differentiable/tensorfield_paral.py @@ -288,7 +288,6 @@ 3 sage: t[1,2,2,1] # check of the antisymmetry with respect to the last 2 indices -3 - """ # ***************************************************************************** diff --git a/src/sage/manifolds/differentiable/vector_bundle.py b/src/sage/manifolds/differentiable/vector_bundle.py index 36a3c48c712..3c12a81da42 100644 --- a/src/sage/manifolds/differentiable/vector_bundle.py +++ b/src/sage/manifolds/differentiable/vector_bundle.py @@ -18,7 +18,6 @@ AUTHORS: - Michael Jung (2019) : initial version - """ #****************************************************************************** diff --git a/src/sage/manifolds/differentiable/vectorfield.py b/src/sage/manifolds/differentiable/vectorfield.py index 04018ba9916..fd71f2ee2e6 100644 --- a/src/sage/manifolds/differentiable/vectorfield.py +++ b/src/sage/manifolds/differentiable/vectorfield.py @@ -45,7 +45,6 @@ - [Lee2013]_ - [ONe1983]_ - [BG1988]_ - """ # ***************************************************************************** diff --git a/src/sage/manifolds/differentiable/vectorfield_module.py b/src/sage/manifolds/differentiable/vectorfield_module.py index 78cc259ca41..1c19fedbd52 100644 --- a/src/sage/manifolds/differentiable/vectorfield_module.py +++ b/src/sage/manifolds/differentiable/vectorfield_module.py @@ -24,7 +24,6 @@ - [KN1963]_ - [Lee2013]_ - [ONe1983]_ - """ # ****************************************************************************** diff --git a/src/sage/manifolds/differentiable/vectorframe.py b/src/sage/manifolds/differentiable/vectorframe.py index 539c08b8050..959c0bd7a24 100644 --- a/src/sage/manifolds/differentiable/vectorframe.py +++ b/src/sage/manifolds/differentiable/vectorframe.py @@ -203,7 +203,6 @@ sage: M.change_of_frame(e, c_spher.frame())[:] [ 1 0] [ 0 sin(th)] - """ # ***************************************************************************** diff --git a/src/sage/manifolds/family.py b/src/sage/manifolds/family.py index 61c74f54469..1b150b46d89 100644 --- a/src/sage/manifolds/family.py +++ b/src/sage/manifolds/family.py @@ -14,7 +14,6 @@ AUTHORS: - Matthias Koeppe (2021): initial version - """ #***************************************************************************** # Copyright (C) 2021 Matthias Koeppe diff --git a/src/sage/manifolds/local_frame.py b/src/sage/manifolds/local_frame.py index fffe607efda..21b506d3eb9 100644 --- a/src/sage/manifolds/local_frame.py +++ b/src/sage/manifolds/local_frame.py @@ -159,7 +159,6 @@ [1, 0, 0] sage: f[3].comp(e)[:] [0, 1, 0] - """ # ***************************************************************************** diff --git a/src/sage/manifolds/manifold.py b/src/sage/manifolds/manifold.py index 0e09530ad54..6729e51b4d1 100644 --- a/src/sage/manifolds/manifold.py +++ b/src/sage/manifolds/manifold.py @@ -306,7 +306,6 @@ - [Lee2013]_ - [KN1963]_ - [Huy2005]_ - """ # **************************************************************************** diff --git a/src/sage/manifolds/manifold_homset.py b/src/sage/manifolds/manifold_homset.py index 71773c5d3ce..664c8f422a7 100644 --- a/src/sage/manifolds/manifold_homset.py +++ b/src/sage/manifolds/manifold_homset.py @@ -15,7 +15,6 @@ - [Lee2011]_ - [KN1963]_ - """ #****************************************************************************** # Copyright (C) 2015 Eric Gourgoulhon diff --git a/src/sage/manifolds/operators.py b/src/sage/manifolds/operators.py index dae39bdcad2..a437f4a08e0 100644 --- a/src/sage/manifolds/operators.py +++ b/src/sage/manifolds/operators.py @@ -31,7 +31,6 @@ AUTHORS: - Eric Gourgoulhon (2018): initial version - """ #***************************************************************************** diff --git a/src/sage/manifolds/point.py b/src/sage/manifolds/point.py index ff0009db15b..a2bc5ff3182 100644 --- a/src/sage/manifolds/point.py +++ b/src/sage/manifolds/point.py @@ -74,7 +74,6 @@ sage: p4 = U((1, pi/2, -pi)) sage: p4 == p True - """ #***************************************************************************** diff --git a/src/sage/manifolds/scalarfield.py b/src/sage/manifolds/scalarfield.py index 1cc865564fc..59bf04d8139 100644 --- a/src/sage/manifolds/scalarfield.py +++ b/src/sage/manifolds/scalarfield.py @@ -25,7 +25,6 @@ - [Lee2011]_ - [KN1963]_ - """ # ***************************************************************************** diff --git a/src/sage/manifolds/scalarfield_algebra.py b/src/sage/manifolds/scalarfield_algebra.py index f8573b8f635..3923247367d 100644 --- a/src/sage/manifolds/scalarfield_algebra.py +++ b/src/sage/manifolds/scalarfield_algebra.py @@ -17,7 +17,6 @@ - [Lee2011]_ - [KN1963]_ - """ #****************************************************************************** diff --git a/src/sage/manifolds/section.py b/src/sage/manifolds/section.py index e48b2b5ee29..987f9663b96 100644 --- a/src/sage/manifolds/section.py +++ b/src/sage/manifolds/section.py @@ -8,7 +8,6 @@ AUTHORS: - Michael Jung (2019): initial version - """ #****************************************************************************** diff --git a/src/sage/manifolds/section_module.py b/src/sage/manifolds/section_module.py index 546d2e13f03..94c7ca6b4ba 100644 --- a/src/sage/manifolds/section_module.py +++ b/src/sage/manifolds/section_module.py @@ -14,7 +14,6 @@ AUTHORS: - Michael Jung (2019): initial version - """ #****************************************************************************** diff --git a/src/sage/manifolds/structure.py b/src/sage/manifolds/structure.py index dd9fc2a3f8a..25ff96ac9df 100644 --- a/src/sage/manifolds/structure.py +++ b/src/sage/manifolds/structure.py @@ -10,7 +10,6 @@ :class:`RealDifferentialStructure` - Eric Gourgoulhon (2018): add :class:`PseudoRiemannianStructure`, :class:`RiemannianStructure` and :class:`LorentzianStructure` - """ #***************************************************************************** diff --git a/src/sage/manifolds/subset.py b/src/sage/manifolds/subset.py index 8acda706d8f..bf945ebb0c1 100644 --- a/src/sage/manifolds/subset.py +++ b/src/sage/manifolds/subset.py @@ -52,7 +52,6 @@ Set {A_inter_B} of subsets of the 2-dimensional topological manifold M sage: d.subset_family() Set {A, A_inter_B, A_union_B, B} of subsets of the 2-dimensional topological manifold M - """ #***************************************************************************** # Copyright (C) 2015-2020 Eric Gourgoulhon diff --git a/src/sage/manifolds/subsets/closure.py b/src/sage/manifolds/subsets/closure.py index 4a5c056ef68..922d77ba263 100644 --- a/src/sage/manifolds/subsets/closure.py +++ b/src/sage/manifolds/subsets/closure.py @@ -3,7 +3,6 @@ :class:`ManifoldSubsetClosure` implements the topological closure of a manifold subset in the topology of the manifold. - """ # **************************************************************************** diff --git a/src/sage/manifolds/topological_submanifold.py b/src/sage/manifolds/topological_submanifold.py index 9b722907152..2333e29fd06 100644 --- a/src/sage/manifolds/topological_submanifold.py +++ b/src/sage/manifolds/topological_submanifold.py @@ -30,7 +30,6 @@ REFERENCES: - \J. M. Lee: *Introduction to Smooth Manifolds* [Lee2013]_ - """ diff --git a/src/sage/manifolds/trivialization.py b/src/sage/manifolds/trivialization.py index ed3a8b4ed9f..7e822c86e5d 100644 --- a/src/sage/manifolds/trivialization.py +++ b/src/sage/manifolds/trivialization.py @@ -8,7 +8,6 @@ AUTHORS: - Michael Jung (2019) : initial version - """ # **************************************************************************** diff --git a/src/sage/manifolds/utilities.py b/src/sage/manifolds/utilities.py index 20bac910900..2ede73552da 100644 --- a/src/sage/manifolds/utilities.py +++ b/src/sage/manifolds/utilities.py @@ -11,7 +11,6 @@ - Travis Scrimshaw (2016): review tweaks - Marius Gerbershagen (2022) : skip simplification of expressions with a single number or symbolic variable - """ # ***************************************************************************** diff --git a/src/sage/manifolds/vector_bundle.py b/src/sage/manifolds/vector_bundle.py index c79aea28307..15c92173a04 100644 --- a/src/sage/manifolds/vector_bundle.py +++ b/src/sage/manifolds/vector_bundle.py @@ -21,7 +21,6 @@ - [Lee2013]_ - [Mil1974]_ - """ #****************************************************************************** diff --git a/src/sage/manifolds/vector_bundle_fiber.py b/src/sage/manifolds/vector_bundle_fiber.py index 90a59e97169..19b5c6f6acb 100644 --- a/src/sage/manifolds/vector_bundle_fiber.py +++ b/src/sage/manifolds/vector_bundle_fiber.py @@ -6,7 +6,6 @@ AUTHORS: - Michael Jung (2019): initial version - """ #****************************************************************************** diff --git a/src/sage/manifolds/vector_bundle_fiber_element.py b/src/sage/manifolds/vector_bundle_fiber_element.py index 048275a8495..3cb37025ef9 100644 --- a/src/sage/manifolds/vector_bundle_fiber_element.py +++ b/src/sage/manifolds/vector_bundle_fiber_element.py @@ -7,7 +7,6 @@ AUTHORS: - Michael Jung (2019): initial version - """ #****************************************************************************** diff --git a/src/sage/matrix/docs.py b/src/sage/matrix/docs.py index 6a76d6fb331..3f70f122489 100644 --- a/src/sage/matrix/docs.py +++ b/src/sage/matrix/docs.py @@ -278,7 +278,6 @@ class derived from Matrix). They can be either sparse or dense, and [ 6 8 3 4] - We save and load a matrix:: sage: A = matrix(Integers(8),3,range(9)) diff --git a/src/sage/matrix/matrix0.pyx b/src/sage/matrix/matrix0.pyx index 5ca79d82213..7ecb1d41cc0 100644 --- a/src/sage/matrix/matrix0.pyx +++ b/src/sage/matrix/matrix0.pyx @@ -1560,8 +1560,6 @@ cdef class Matrix(sage.structure.element.Matrix): return - - cdef _coerce_element(self, x): """ Return coercion of x into the base ring of self. diff --git a/src/sage/matrix/matrix_gf2e_dense.pyx b/src/sage/matrix/matrix_gf2e_dense.pyx index 5b4d3c00ea7..02b71249f2b 100644 --- a/src/sage/matrix/matrix_gf2e_dense.pyx +++ b/src/sage/matrix/matrix_gf2e_dense.pyx @@ -69,7 +69,6 @@ Test hashing:: REFERENCES: - [BB2009]_ - """ #***************************************************************************** diff --git a/src/sage/matrix/matrix_gfpn_dense.pyx b/src/sage/matrix/matrix_gfpn_dense.pyx index b4a0f0a8a5a..bb3b105da12 100644 --- a/src/sage/matrix/matrix_gfpn_dense.pyx +++ b/src/sage/matrix/matrix_gfpn_dense.pyx @@ -22,7 +22,6 @@ characteristic two. AUTHORS: - Simon King (2015-09): initial version - """ # *************************************************************************** diff --git a/src/sage/matrix/matrix_integer_dense.pyx b/src/sage/matrix/matrix_integer_dense.pyx index cffde3ef0b9..fdda6f7f998 100644 --- a/src/sage/matrix/matrix_integer_dense.pyx +++ b/src/sage/matrix/matrix_integer_dense.pyx @@ -46,7 +46,6 @@ TESTS:: sage: TestSuite(a).run() sage: Matrix(ZZ,0,0).inverse() [] - """ #***************************************************************************** @@ -714,7 +713,6 @@ cdef class Matrix_integer_dense(Matrix_dense): return self.is_square() and fmpz_mat_is_one(self._matrix) - def _multiply_linbox(self, Matrix_integer_dense right): """ Multiply matrices over ZZ using linbox. diff --git a/src/sage/matrix/matrix_misc.py b/src/sage/matrix/matrix_misc.py index 84ddd3819c7..3513a97da7d 100644 --- a/src/sage/matrix/matrix_misc.py +++ b/src/sage/matrix/matrix_misc.py @@ -1,6 +1,5 @@ """ Miscellaneous matrix functions - """ # **************************************************************************** diff --git a/src/sage/matrix/matrix_mod2_dense.pyx b/src/sage/matrix/matrix_mod2_dense.pyx index 0d3c15be395..d1373123e7a 100644 --- a/src/sage/matrix/matrix_mod2_dense.pyx +++ b/src/sage/matrix/matrix_mod2_dense.pyx @@ -1341,7 +1341,6 @@ cdef class Matrix_mod2_dense(matrix_dense.Matrix_dense): # dense or sparse mzd_col_swap(self._entries, col1, col2) - def _magma_init_(self, magma): """ Returns a string of self in ``Magma`` form. Does not return diff --git a/src/sage/matrix/matrix_modn_dense_template.pxi b/src/sage/matrix/matrix_modn_dense_template.pxi index 5a0e84b763c..500f531e3b6 100644 --- a/src/sage/matrix/matrix_modn_dense_template.pxi +++ b/src/sage/matrix/matrix_modn_dense_template.pxi @@ -71,7 +71,6 @@ We test corner cases for multiplication:: ....: print('Uncaught dimension mismatch!') ....: except (IndexError, TypeError, ArithmeticError): ....: pass - """ #***************************************************************************** diff --git a/src/sage/matrix/strassen.pyx b/src/sage/matrix/strassen.pyx index dd084842972..68ad7f19a7e 100644 --- a/src/sage/matrix/strassen.pyx +++ b/src/sage/matrix/strassen.pyx @@ -472,7 +472,6 @@ cdef strassen_echelon_c(MatrixWindow A, Py_ssize_t cutoff, Py_ssize_t mul_cutoff return pivots - ################################ # lots of room for optimization.... # eventually, should I just pass these around rather than lists of ints for pivots? diff --git a/src/sage/matrix/tests.py b/src/sage/matrix/tests.py index b4747bff5c9..6de80f7ff03 100644 --- a/src/sage/matrix/tests.py +++ b/src/sage/matrix/tests.py @@ -67,5 +67,4 @@ sage: a = gp('Mat([-15,18,-23,-20,-32,11,-19,2,-1,15,22,29,-29,3,-31,25,11,-6,32,7; -31,0,30,-27,-15,13,-21,6,-27,6,3,-4,-4,-28,-30,-16,29,-4,29,-20; -15,-19,-30,9,-18,-31,23,-15,15,-9,20,10,-29,9,18,-6,-1,-20,19,-29; 2,-32,4,-13,17,21,12,-32,12,0,27,-10,-31,-33,-8,-31,-23,25,-18,6; -10,33,4,27,1,25,1,6,31,-7,3,30,23,-4,18,16,-12,21,0,4; -19,20,31,-34,-24,20,-13,-2,18,12,-18,33,22,0,0,10,-25,-29,6,-23; -15,-33,27,-9,-21,-20,5,-20,-31,-11,20,19,31,25,16,20,5,23,-32,-2; 20,18,12,-10,-3,-29,-14,4,-9,21,7,-34,6,16,7,10,11,-21,8,28; 10,-4,-11,-8,-29,33,-23,21,-3,-17,21,7,-28,-10,-16,-1,-29,32,12,16; 13,33,-7,15,-31,20,22,33,21,8,-24,20,27,30,24,20,-29,31,-20,-16; -24,-16,24,-8,7,-22,3,12,-1,-4,-9,10,13,-2,-14,-4,-3,-26,28,-25; 7,-7,19,-26,25,-27,33,12,6,3,31,-30,-14,6,-17,11,-6,5,15,0; 9,-32,-14,9,12,-8,-19,22,20,-23,14,29,-17,-28,-34,-10,4,26,-3,-14; 7,-13,-16,32,-2,11,-2,3,33,-22,-7,-3,12,-24,-7,-7,-1,31,26,22; 8,7,30,29,26,-12,13,21,-18,-5,-27,-33,1,16,-34,-10,-1,8,6,20; 32,-30,27,-21,33,5,14,30,13,24,10,-23,30,-18,13,25,0,-22,18,-19; -4,-6,7,28,-4,9,32,21,29,2,-7,7,-24,-10,2,-9,-23,-18,6,5; 3,19,0,23,-24,-16,-33,-15,-2,16,2,19,28,33,-16,32,-20,-15,28,-18])') # needs sage.libs.pari sage: a.mathnf(1)[1][1,] == gp('[4, 2, 1, 0, 3, 1, 1, 0, 1, 1, 2, 2, 3, 3, 0, 0, 1, 3]') # needs sage.libs.pari True - """ diff --git a/src/sage/matroids/catalog.py b/src/sage/matroids/catalog.py index 55dd69d2ef4..f137644809e 100644 --- a/src/sage/matroids/catalog.py +++ b/src/sage/matroids/catalog.py @@ -4,7 +4,6 @@ This module imports the individual matroids accessible through :mod:`matroids.catalog ` (type this and hit :kbd:`Tab` for a list). - """ from sage.matroids.database_matroids import ( U24, U25, U35, K4, Whirl3, Q6, P6, U36, R6, diff --git a/src/sage/matroids/matroids_plot_helpers.py b/src/sage/matroids/matroids_plot_helpers.py index fe6b5f8113b..abcc2eae8f9 100644 --- a/src/sage/matroids/matroids_plot_helpers.py +++ b/src/sage/matroids/matroids_plot_helpers.py @@ -42,7 +42,6 @@ 'plot_lineorders':} - REFERENCES ========== diff --git a/src/sage/misc/binary_tree.pyx b/src/sage/misc/binary_tree.pyx index 2d41ce45e8c..511e7622faa 100644 --- a/src/sage/misc/binary_tree.pyx +++ b/src/sage/misc/binary_tree.pyx @@ -98,7 +98,6 @@ cdef binary_tree_node *binary_tree_left_excise(binary_tree_node *self) noexcept: return left - cdef binary_tree_node *binary_tree_right_excise(binary_tree_node *self) noexcept: cdef binary_tree_node *right cdef binary_tree_node *cur @@ -178,7 +177,6 @@ cdef object binary_tree_list(binary_tree_node *cur, int behavior): return arry - cdef class BinaryTree: """ A simple binary tree with integer keys. diff --git a/src/sage/misc/decorators.py b/src/sage/misc/decorators.py index f0b34b8843d..ed62d6d34f6 100644 --- a/src/sage/misc/decorators.py +++ b/src/sage/misc/decorators.py @@ -11,7 +11,6 @@ - Simon King (2011-05-26) -- improve introspection of sage_wraps. Put this file into the reference manual. - Julian Rueth (2014-03-19): added ``decorator_keywords`` decorator - """ #***************************************************************************** # Copyright (C) 2009 Tim Dumol diff --git a/src/sage/misc/derivative.pyx b/src/sage/misc/derivative.pyx index 9788e82e06e..8c0bcbf3c3d 100644 --- a/src/sage/misc/derivative.pyx +++ b/src/sage/misc/derivative.pyx @@ -56,7 +56,6 @@ For the precise specification see documentation for derivative_parse(). AUTHORS: - David Harvey (2008-02) - """ from sage.rings.integer cimport Integer diff --git a/src/sage/misc/explain_pickle.py b/src/sage/misc/explain_pickle.py index fe62f5ea841..3d11daa3c45 100644 --- a/src/sage/misc/explain_pickle.py +++ b/src/sage/misc/explain_pickle.py @@ -141,7 +141,6 @@ - ``unpickle_appends(lst, vals)``: Appends the values in ``vals`` to ``lst``. If not ``isinstance(lst, list)``, can be customized by defining a :meth:`append` method. - """ #***************************************************************************** diff --git a/src/sage/misc/fast_methods.pyx b/src/sage/misc/fast_methods.pyx index ce7f918cccd..9b1db257a8b 100644 --- a/src/sage/misc/fast_methods.pyx +++ b/src/sage/misc/fast_methods.pyx @@ -15,7 +15,6 @@ AUTHOR: - Simon King (2013-02): Original version - Simon King (2013-10): Add :class:`Singleton` - """ #***************************************************************************** diff --git a/src/sage/misc/function_mangling.pyx b/src/sage/misc/function_mangling.pyx index 83a88188610..7ab48026728 100644 --- a/src/sage/misc/function_mangling.pyx +++ b/src/sage/misc/function_mangling.pyx @@ -22,7 +22,6 @@ # ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - """ Function Mangling @@ -34,7 +33,6 @@ AUTHORS: - Tom Boothby (2009): Original version in Python - Simon King (2011): Use Cython. Speedup of ``fix_to_pos``, cleaning documentation. - """ from sage.misc.sageinspect import sage_getargspec diff --git a/src/sage/misc/latex.py b/src/sage/misc/latex.py index ec3ee067075..b19e572fbdc 100644 --- a/src/sage/misc/latex.py +++ b/src/sage/misc/latex.py @@ -14,7 +14,6 @@ - William Stein: original implementation - Joel B. Mohler: latex_variable_name() drastic rewrite and many doc-tests - """ # **************************************************************************** # Copyright (C) 2005 William Stein diff --git a/src/sage/misc/rest_index_of_methods.py b/src/sage/misc/rest_index_of_methods.py index d1b102829c9..6b86f1b05b0 100644 --- a/src/sage/misc/rest_index_of_methods.py +++ b/src/sage/misc/rest_index_of_methods.py @@ -5,7 +5,6 @@ for use in doc-strings. {INDEX_OF_FUNCTIONS} - """ import inspect diff --git a/src/sage/misc/test_nested_class.py b/src/sage/misc/test_nested_class.py index 918acc30e11..2b26d34df27 100644 --- a/src/sage/misc/test_nested_class.py +++ b/src/sage/misc/test_nested_class.py @@ -36,7 +36,6 @@ sage: P = TestParent4() sage: TestSuite(P).run() - """ #***************************************************************************** # Copyright (C) 2009 Nicolas M. Thiery diff --git a/src/sage/modular/arithgroup/congroup_sl2z.py b/src/sage/modular/arithgroup/congroup_sl2z.py index 1aa9e2dda33..f67ada831d3 100644 --- a/src/sage/modular/arithgroup/congroup_sl2z.py +++ b/src/sage/modular/arithgroup/congroup_sl2z.py @@ -4,7 +4,6 @@ AUTHORS: - Niles Johnson (2010-08): :issue:`3893`: ``random_element()`` should pass on ``*args`` and ``**kwds``. - """ ################################################################################ diff --git a/src/sage/modular/dirichlet.py b/src/sage/modular/dirichlet.py index d61140f71ad..86b7a8a29f2 100644 --- a/src/sage/modular/dirichlet.py +++ b/src/sage/modular/dirichlet.py @@ -44,7 +44,6 @@ Dirichlet characters, miscellaneous fixes - Julian Rueth (2014-03-06): use UniqueFactory to cache DirichletGroups - """ # **************************************************************************** diff --git a/src/sage/modular/hypergeometric_motive.py b/src/sage/modular/hypergeometric_motive.py index 45895c5caf3..8e726fc877e 100644 --- a/src/sage/modular/hypergeometric_motive.py +++ b/src/sage/modular/hypergeometric_motive.py @@ -47,7 +47,6 @@ - [BeCoMe]_ - [Watkins]_ - """ # **************************************************************************** # Copyright (C) 2017--2024 Frédéric Chapoton diff --git a/src/sage/modular/local_comp/type_space.py b/src/sage/modular/local_comp/type_space.py index a808ef48743..87c93d53477 100644 --- a/src/sage/modular/local_comp/type_space.py +++ b/src/sage/modular/local_comp/type_space.py @@ -12,7 +12,6 @@ these twists, which lie in a space of modular symbols for a suitable `\Gamma_H` subgroup. This space is the key to computing the isomorphism class of the local component of the newform at `p`. - """ import operator diff --git a/src/sage/modular/modform/ambient_g1.py b/src/sage/modular/modform/ambient_g1.py index 40c6c579e2d..2771a9a1623 100644 --- a/src/sage/modular/modform/ambient_g1.py +++ b/src/sage/modular/modform/ambient_g1.py @@ -39,7 +39,6 @@ Modular Forms subspace of dimension 0 of Modular Forms space of dimension 10 for Congruence Subgroup Gamma1(11) of weight 2 over Rational Field sage: ModularForms(Gamma1(3), 12).old_submodule() Modular Forms subspace of dimension 4 of Modular Forms space of dimension 5 for Congruence Subgroup Gamma1(3) of weight 12 over Rational Field - """ ######################################################################### diff --git a/src/sage/modular/modform/constructor.py b/src/sage/modular/modform/constructor.py index 55022ad6e2a..746b10472bc 100644 --- a/src/sage/modular/modform/constructor.py +++ b/src/sage/modular/modform/constructor.py @@ -17,7 +17,6 @@ 1 + 4092/50521*q^2 + 472384/50521*q^3 + 4194300/50521*q^4 + O(q^6), q + 1024*q^2 + 59048*q^3 + 1048576*q^4 + 9765626*q^5 + O(q^6) ] - """ #***************************************************************************** diff --git a/src/sage/modular/modform_hecketriangle/abstract_ring.py b/src/sage/modular/modform_hecketriangle/abstract_ring.py index 3b68a6e505c..f1f0efad596 100644 --- a/src/sage/modular/modform_hecketriangle/abstract_ring.py +++ b/src/sage/modular/modform_hecketriangle/abstract_ring.py @@ -4,7 +4,6 @@ AUTHORS: - Jonas Jermann (2013): initial version - """ # **************************************************************************** diff --git a/src/sage/modular/modform_hecketriangle/abstract_space.py b/src/sage/modular/modform_hecketriangle/abstract_space.py index 47bd1e6c766..c2148a4e543 100644 --- a/src/sage/modular/modform_hecketriangle/abstract_space.py +++ b/src/sage/modular/modform_hecketriangle/abstract_space.py @@ -5,7 +5,6 @@ AUTHORS: - Jonas Jermann (2013): initial version - """ # **************************************************************************** # Copyright (C) 2013-2014 Jonas Jermann diff --git a/src/sage/modular/modform_hecketriangle/analytic_type.py b/src/sage/modular/modform_hecketriangle/analytic_type.py index 5ef345dcedc..d04d42c91f1 100644 --- a/src/sage/modular/modform_hecketriangle/analytic_type.py +++ b/src/sage/modular/modform_hecketriangle/analytic_type.py @@ -9,7 +9,6 @@ AUTHORS: - Jonas Jermann (2013): initial version - """ # **************************************************************************** diff --git a/src/sage/modular/modform_hecketriangle/constructor.py b/src/sage/modular/modform_hecketriangle/constructor.py index 040aa01add7..309a024c43a 100644 --- a/src/sage/modular/modform_hecketriangle/constructor.py +++ b/src/sage/modular/modform_hecketriangle/constructor.py @@ -5,7 +5,6 @@ AUTHORS: - Jonas Jermann (2013): initial version - """ # **************************************************************************** diff --git a/src/sage/modular/modform_hecketriangle/element.py b/src/sage/modular/modform_hecketriangle/element.py index 4f58baafff5..308d3c6a7c0 100644 --- a/src/sage/modular/modform_hecketriangle/element.py +++ b/src/sage/modular/modform_hecketriangle/element.py @@ -5,7 +5,6 @@ AUTHORS: - Jonas Jermann (2013): initial version - """ # **************************************************************************** diff --git a/src/sage/modular/modform_hecketriangle/functors.py b/src/sage/modular/modform_hecketriangle/functors.py index 3ba9c865231..aae555d250a 100644 --- a/src/sage/modular/modform_hecketriangle/functors.py +++ b/src/sage/modular/modform_hecketriangle/functors.py @@ -5,7 +5,6 @@ AUTHORS: - Jonas Jermann (2013): initial version - """ # **************************************************************************** diff --git a/src/sage/modular/modform_hecketriangle/graded_ring.py b/src/sage/modular/modform_hecketriangle/graded_ring.py index 6313e650660..87251973e18 100644 --- a/src/sage/modular/modform_hecketriangle/graded_ring.py +++ b/src/sage/modular/modform_hecketriangle/graded_ring.py @@ -5,7 +5,6 @@ AUTHORS: - Jonas Jermann (2013): initial version - """ # **************************************************************************** # Copyright (C) 2013-2014 Jonas Jermann diff --git a/src/sage/modular/modform_hecketriangle/graded_ring_element.py b/src/sage/modular/modform_hecketriangle/graded_ring_element.py index bd6d2a03a2c..f097db5e44e 100644 --- a/src/sage/modular/modform_hecketriangle/graded_ring_element.py +++ b/src/sage/modular/modform_hecketriangle/graded_ring_element.py @@ -5,7 +5,6 @@ AUTHORS: - Jonas Jermann (2013): initial version - """ # **************************************************************************** # Copyright (C) 2013-2014 Jonas Jermann diff --git a/src/sage/modular/modform_hecketriangle/hecke_triangle_group_element.py b/src/sage/modular/modform_hecketriangle/hecke_triangle_group_element.py index 0e48b78e008..d1aa01a1793 100644 --- a/src/sage/modular/modform_hecketriangle/hecke_triangle_group_element.py +++ b/src/sage/modular/modform_hecketriangle/hecke_triangle_group_element.py @@ -5,7 +5,6 @@ AUTHORS: - Jonas Jermann (2014): initial version - """ # **************************************************************************** diff --git a/src/sage/modular/modform_hecketriangle/hecke_triangle_groups.py b/src/sage/modular/modform_hecketriangle/hecke_triangle_groups.py index 9ba041463ff..17ee69ec123 100644 --- a/src/sage/modular/modform_hecketriangle/hecke_triangle_groups.py +++ b/src/sage/modular/modform_hecketriangle/hecke_triangle_groups.py @@ -5,7 +5,6 @@ AUTHORS: - Jonas Jermann (2013): initial version - """ # **************************************************************************** diff --git a/src/sage/modular/modform_hecketriangle/readme.py b/src/sage/modular/modform_hecketriangle/readme.py index 920822a2257..799f68dc814 100644 --- a/src/sage/modular/modform_hecketriangle/readme.py +++ b/src/sage/modular/modform_hecketriangle/readme.py @@ -561,7 +561,6 @@ sage: G.element_repr_method("default") - Modular forms ring and spaces for Hecke triangle groups: -------------------------------------------------------- @@ -1197,7 +1196,6 @@ True - Future ideas: ------------- @@ -1214,5 +1212,4 @@ - Support for general triangle groups (hard) - Support for "congruence" subgroups (hard) - """ diff --git a/src/sage/modular/modform_hecketriangle/space.py b/src/sage/modular/modform_hecketriangle/space.py index e897808ef23..9530d5f07fe 100644 --- a/src/sage/modular/modform_hecketriangle/space.py +++ b/src/sage/modular/modform_hecketriangle/space.py @@ -5,7 +5,6 @@ AUTHORS: - Jonas Jermann (2013): initial version - """ # **************************************************************************** # Copyright (C) 2013-2014 Jonas Jermann diff --git a/src/sage/modular/modform_hecketriangle/subspace.py b/src/sage/modular/modform_hecketriangle/subspace.py index 504c5fc1936..aa16edabc04 100644 --- a/src/sage/modular/modform_hecketriangle/subspace.py +++ b/src/sage/modular/modform_hecketriangle/subspace.py @@ -5,7 +5,6 @@ AUTHORS: - Jonas Jermann (2013): initial version - """ # **************************************************************************** diff --git a/src/sage/modular/modsym/apply.pyx b/src/sage/modular/modsym/apply.pyx index 6017a933a5e..83f3bad2e28 100644 --- a/src/sage/modular/modsym/apply.pyx +++ b/src/sage/modular/modsym/apply.pyx @@ -1,5 +1,4 @@ # distutils: extra_compile_args = -D_XPG6 - """ Monomial expansion of `(aX + bY)^i (cX + dY)^{j-i}` """ diff --git a/src/sage/modular/modsym/heilbronn.pyx b/src/sage/modular/modsym/heilbronn.pyx index 8258c684d1d..0660b1930cb 100644 --- a/src/sage/modular/modsym/heilbronn.pyx +++ b/src/sage/modular/modsym/heilbronn.pyx @@ -1,5 +1,4 @@ # distutils: extra_compile_args = -D_XPG6 - """ Heilbronn matrix computation """ diff --git a/src/sage/modular/modsym/manin_symbol_list.py b/src/sage/modular/modsym/manin_symbol_list.py index 7692266cbd8..f2a26c68303 100644 --- a/src/sage/modular/modsym/manin_symbol_list.py +++ b/src/sage/modular/modsym/manin_symbol_list.py @@ -13,7 +13,6 @@ - :class:`ManinSymbolList_gamma_h` - :class:`ManinSymbolList_character` - """ # **************************************************************************** # Sage: Open Source Mathematical Software diff --git a/src/sage/modular/multiple_zeta_F_algebra.py b/src/sage/modular/multiple_zeta_F_algebra.py index 863a369940c..1d7c8a79ddf 100644 --- a/src/sage/modular/multiple_zeta_F_algebra.py +++ b/src/sage/modular/multiple_zeta_F_algebra.py @@ -18,7 +18,6 @@ AUTHORS: - Frédéric Chapoton (2022-09): Initial version - """ # **************************************************************************** # Copyright (C) 2022 Frédéric Chapoton diff --git a/src/sage/modular/pollack_stevens/distributions.py b/src/sage/modular/pollack_stevens/distributions.py index 481697fb3ff..a11240613fb 100644 --- a/src/sage/modular/pollack_stevens/distributions.py +++ b/src/sage/modular/pollack_stevens/distributions.py @@ -29,7 +29,6 @@ Space of 11-adic distributions with k=3 action and precision cap 5 sage: D([1,2,3,4,5]) (1 + O(11^5), 2 + O(11^4), 3 + O(11^3), 4 + O(11^2), 5 + O(11)) - """ # ************************************************************************* # Copyright (C) 2012 Robert Pollack diff --git a/src/sage/modular/pollack_stevens/fund_domain.py b/src/sage/modular/pollack_stevens/fund_domain.py index 204297362f1..40ebcc84fc1 100644 --- a/src/sage/modular/pollack_stevens/fund_domain.py +++ b/src/sage/modular/pollack_stevens/fund_domain.py @@ -10,7 +10,6 @@ AUTHORS: - Robert Pollack, Jonathan Hanke (2012): initial version - """ # **************************************************************************** # Copyright (C) 2012 Robert Pollack diff --git a/src/sage/modular/pollack_stevens/modsym.py b/src/sage/modular/pollack_stevens/modsym.py index 8f4b2c40db8..9217c186156 100644 --- a/src/sage/modular/pollack_stevens/modsym.py +++ b/src/sage/modular/pollack_stevens/modsym.py @@ -25,7 +25,6 @@ sage: phi = ps_modsym_from_simple_modsym_space(A) sage: phi.values() [(-1, 0, 0), (1, 0, 0), (-9, -6, -4)] - """ # **************************************************************************** # Copyright (C) 2012 Robert Pollack diff --git a/src/sage/modular/pollack_stevens/padic_lseries.py b/src/sage/modular/pollack_stevens/padic_lseries.py index 748b5dc9993..fa97d9fb19a 100644 --- a/src/sage/modular/pollack_stevens/padic_lseries.py +++ b/src/sage/modular/pollack_stevens/padic_lseries.py @@ -9,7 +9,6 @@ to the sought `p`-adic `L`-series. All this is carefully explained in [PS2011]_. - """ # **************************************************************************** # Copyright (C) 2012 Robert Pollack diff --git a/src/sage/modular/quasimodform/ring.py b/src/sage/modular/quasimodform/ring.py index 8dfcdbe6846..14f099be987 100644 --- a/src/sage/modular/quasimodform/ring.py +++ b/src/sage/modular/quasimodform/ring.py @@ -154,7 +154,6 @@ AUTHORS: - David Ayotte (2021-03-18): initial version - """ # **************************************************************************** diff --git a/src/sage/modular/ssmod/ssmod.py b/src/sage/modular/ssmod/ssmod.py index e00da45a87e..49eb6fe1a08 100644 --- a/src/sage/modular/ssmod/ssmod.py +++ b/src/sage/modular/ssmod/ssmod.py @@ -53,7 +53,6 @@ - David Kohel - Iftikhar Burhanuddin - """ # **************************************************************************** diff --git a/src/sage/modules/fg_pid/fgp_module.py b/src/sage/modules/fg_pid/fgp_module.py index f0255b763f6..64a6e085eb7 100644 --- a/src/sage/modules/fg_pid/fgp_module.py +++ b/src/sage/modules/fg_pid/fgp_module.py @@ -35,7 +35,6 @@ of `M_0` to `V_1` that sends `W_0` into `W_1`. - The following TUTORIAL illustrates several of the above points. First we create free modules `V_0` and `W_0` and the quotient module `M_0`. diff --git a/src/sage/modules/free_module.py b/src/sage/modules/free_module.py index 69008abccaf..ab1eb53f16f 100644 --- a/src/sage/modules/free_module.py +++ b/src/sage/modules/free_module.py @@ -157,7 +157,6 @@ - Simon King (2010-12): (:issue:`8800`) fixed a bug in ``denominator()``. - Simon King (2010-12), Peter Bruin (June 2014): (:issue:`10513`) new coercion model and category framework. - """ ########################################################################### diff --git a/src/sage/modules/free_module_integer.py b/src/sage/modules/free_module_integer.py index 9602d04fde0..5bc9f1a3836 100644 --- a/src/sage/modules/free_module_integer.py +++ b/src/sage/modules/free_module_integer.py @@ -13,7 +13,6 @@ sage: from sage.modules.free_module_integer import IntegerLattice sage: L = IntegerLattice(random_matrix(ZZ, 10, 10)) sage: TestSuite(L).run() - """ ############################################################################## diff --git a/src/sage/modules/matrix_morphism.py b/src/sage/modules/matrix_morphism.py index ed13c064703..fcce12a0788 100644 --- a/src/sage/modules/matrix_morphism.py +++ b/src/sage/modules/matrix_morphism.py @@ -623,8 +623,6 @@ def __mul__(self, right): [1 0] [0 1]... - - .. WARNING:: Matrix morphisms can be defined by either left or right-multiplication. diff --git a/src/sage/modules/module.pyx b/src/sage/modules/module.pyx index 000c8a88bcd..845c4b239d8 100644 --- a/src/sage/modules/module.pyx +++ b/src/sage/modules/module.pyx @@ -47,7 +47,6 @@ A minimal example of a module:: sage: __main__.MyModule = MyModule sage: __main__.MyElement = MyElement sage: TestSuite(M).run() - """ #***************************************************************************** diff --git a/src/sage/modules/quotient_module.py b/src/sage/modules/quotient_module.py index be3e3735175..a59273cc407 100644 --- a/src/sage/modules/quotient_module.py +++ b/src/sage/modules/quotient_module.py @@ -6,7 +6,6 @@ - William Stein (2009): initial version - Kwankyu Lee (2022-05): added quotient module over domain - """ # **************************************************************************** diff --git a/src/sage/modules/submodule.py b/src/sage/modules/submodule.py index 4576d6c4bbd..12ad915646a 100644 --- a/src/sage/modules/submodule.py +++ b/src/sage/modules/submodule.py @@ -21,7 +21,6 @@ AUTHORS: - Kwankyu Lee (2022-05): initial version - """ # **************************************************************************** diff --git a/src/sage/modules/vector_callable_symbolic_dense.py b/src/sage/modules/vector_callable_symbolic_dense.py index 5727003a22d..eb2cf2eedfd 100644 --- a/src/sage/modules/vector_callable_symbolic_dense.py +++ b/src/sage/modules/vector_callable_symbolic_dense.py @@ -31,8 +31,6 @@ sage: f(u,v,w) = (2*u+v,u-w,w^2+u) sage: loads(dumps(f)) == f True - - """ # **************************************************************************** diff --git a/src/sage/modules/vector_integer_sparse.pyx b/src/sage/modules/vector_integer_sparse.pyx index 57a7b70bde4..b647c22fb23 100644 --- a/src/sage/modules/vector_integer_sparse.pyx +++ b/src/sage/modules/vector_integer_sparse.pyx @@ -238,7 +238,6 @@ cdef int mpz_vector_set_entry(mpz_vector* v, Py_ssize_t n, mpz_t x) except -1: sig_free(pos) - cdef mpz_t mpz_set_tmp mpz_init(mpz_set_tmp) cdef int mpz_vector_set_entry_str(mpz_vector* v, Py_ssize_t n, char *x_str) except -1: diff --git a/src/sage/modules/vector_rational_sparse.pyx b/src/sage/modules/vector_rational_sparse.pyx index 37466bab2da..2c661f34bab 100644 --- a/src/sage/modules/vector_rational_sparse.pyx +++ b/src/sage/modules/vector_rational_sparse.pyx @@ -245,7 +245,6 @@ cdef int mpq_vector_set_entry(mpq_vector* v, Py_ssize_t n, mpq_t x) except -1: sig_free(pos) - cdef mpq_t mpq_set_tmp mpq_init(mpq_set_tmp) cdef int mpq_vector_set_entry_str(mpq_vector* v, Py_ssize_t n, char *x_str) except -1: diff --git a/src/sage/modules/vector_symbolic_dense.py b/src/sage/modules/vector_symbolic_dense.py index bd50cedec7b..b1d47f32966 100644 --- a/src/sage/modules/vector_symbolic_dense.py +++ b/src/sage/modules/vector_symbolic_dense.py @@ -42,7 +42,6 @@ sage: u = vector(SR, [sin(x^2)]) sage: loads(dumps(u)) == u True - """ # **************************************************************************** diff --git a/src/sage/modules/vector_symbolic_sparse.py b/src/sage/modules/vector_symbolic_sparse.py index 41cbbda5241..c0e7fc209b6 100644 --- a/src/sage/modules/vector_symbolic_sparse.py +++ b/src/sage/modules/vector_symbolic_sparse.py @@ -44,7 +44,6 @@ sage: u = vector(SR, [sin(x^2)], sparse=True) sage: loads(dumps(u)) == u True - """ # **************************************************************************** diff --git a/src/sage/modules/with_basis/representation.py b/src/sage/modules/with_basis/representation.py index c484cd657d6..86fa3b61850 100644 --- a/src/sage/modules/with_basis/representation.py +++ b/src/sage/modules/with_basis/representation.py @@ -7,7 +7,6 @@ - Travis Scrimshaw (2015-11-21): initial version - Siddharth Singh (2020-03-21): signed representation - Travis Scrimshaw (2024-02-17): tensor products - """ ############################################################################## diff --git a/src/sage/numerical/backends/cvxopt_backend.pyx b/src/sage/numerical/backends/cvxopt_backend.pyx index d134d1736fc..58cb79ca762 100644 --- a/src/sage/numerical/backends/cvxopt_backend.pyx +++ b/src/sage/numerical/backends/cvxopt_backend.pyx @@ -6,7 +6,6 @@ CVXOPT Backend AUTHORS: - Ingolfur Edvardsson (2014-05): initial implementation - """ #***************************************************************************** # Copyright (C) 2014 Ingolfur Edvardsson @@ -510,7 +509,6 @@ cdef class CVXOPTBackend(GenericBackend): self.G_matrix[cindex].append(0) - #for the upper bounds (if there are any) for i in range(len(self.col_upper_bound)): if self.col_upper_bound[i] is not None: diff --git a/src/sage/numerical/backends/cvxopt_sdp_backend.pyx b/src/sage/numerical/backends/cvxopt_sdp_backend.pyx index 5a5cf2c11a2..f58062b5e65 100644 --- a/src/sage/numerical/backends/cvxopt_sdp_backend.pyx +++ b/src/sage/numerical/backends/cvxopt_sdp_backend.pyx @@ -8,7 +8,6 @@ AUTHORS: - Ingolfur Edvardsson (2014-05): initial implementation - Dima Pasechnik (2015-12): minor fixes - """ #***************************************************************************** # Copyright (C) 2014 Ingolfur Edvardsson diff --git a/src/sage/numerical/backends/cvxpy_backend.pyx b/src/sage/numerical/backends/cvxpy_backend.pyx index 1d710b55db5..175b727a8a5 100644 --- a/src/sage/numerical/backends/cvxpy_backend.pyx +++ b/src/sage/numerical/backends/cvxpy_backend.pyx @@ -6,7 +6,6 @@ AUTHORS: - Nathann Cohen (2010-10) : generic_backend template - Matthias Koeppe (2022-03) : this backend - """ # **************************************************************************** # Copyright (C) 2010 Nathann Cohen diff --git a/src/sage/numerical/backends/generic_backend.pyx b/src/sage/numerical/backends/generic_backend.pyx index 09a45ce6e3b..978d9aec454 100644 --- a/src/sage/numerical/backends/generic_backend.pyx +++ b/src/sage/numerical/backends/generic_backend.pyx @@ -16,7 +16,6 @@ AUTHORS: - Nathann Cohen (2010-10) : initial implementation - Risan (2012-02) : extension for PPL backend - Ingolfur Edvardsson (2014-06): extension for CVXOPT backend - """ #***************************************************************************** diff --git a/src/sage/numerical/backends/generic_sdp_backend.pyx b/src/sage/numerical/backends/generic_sdp_backend.pyx index 1d84bddbad8..12a361dd728 100644 --- a/src/sage/numerical/backends/generic_sdp_backend.pyx +++ b/src/sage/numerical/backends/generic_sdp_backend.pyx @@ -14,7 +14,6 @@ class. AUTHORS: - Ingolfur Edvardsson (2014-07): initial implementation - """ #***************************************************************************** @@ -618,7 +617,6 @@ cdef class GenericSDPBackend: raise NotImplementedError() - default_solver = None def default_sdp_solver(solver=None): diff --git a/src/sage/numerical/backends/interactivelp_backend.pyx b/src/sage/numerical/backends/interactivelp_backend.pyx index 71f72d758b7..02ee41b354f 100644 --- a/src/sage/numerical/backends/interactivelp_backend.pyx +++ b/src/sage/numerical/backends/interactivelp_backend.pyx @@ -5,7 +5,6 @@ AUTHORS: - Nathann Cohen (2010-10) : generic_backend template - Matthias Koeppe (2016-03) : this backend - """ # **************************************************************************** diff --git a/src/sage/numerical/backends/matrix_sdp_backend.pyx b/src/sage/numerical/backends/matrix_sdp_backend.pyx index ca3e40204aa..6a63c659564 100644 --- a/src/sage/numerical/backends/matrix_sdp_backend.pyx +++ b/src/sage/numerical/backends/matrix_sdp_backend.pyx @@ -6,7 +6,6 @@ and can store either floating-point SDPs or exact SDPs with rational or algebrai The class does not provide a solver method. It can be used as a base class for other classes implementing solvers. - """ #***************************************************************************** diff --git a/src/sage/numerical/sdp.pyx b/src/sage/numerical/sdp.pyx index 8701ed22150..8bb59a964ad 100644 --- a/src/sage/numerical/sdp.pyx +++ b/src/sage/numerical/sdp.pyx @@ -220,7 +220,6 @@ AUTHORS: - Ingolfur Edvardsson (2014/08): added extension for exact computation - Dima Pasechnik (2014-) : supervision, minor fixes, duality - """ # **************************************************************************** # Copyright (C) 2014 Ingolfur Edvardsson diff --git a/src/sage/parallel/parallelism.py b/src/sage/parallel/parallelism.py index 8aafe232fee..010372467d9 100644 --- a/src/sage/parallel/parallelism.py +++ b/src/sage/parallel/parallelism.py @@ -11,7 +11,6 @@ AUTHORS: - Marco Mancini, Eric Gourgoulhon, Michal Bejger (2015): initial version - """ # ***************************************************************************** diff --git a/src/sage/plot/animate.py b/src/sage/plot/animate.py index cdf1b255eb0..c11c80151e2 100644 --- a/src/sage/plot/animate.py +++ b/src/sage/plot/animate.py @@ -116,7 +116,6 @@ - `FFmpeg `_ - `APNG `_ - `browsers which support it `_ - """ ############################################################################ diff --git a/src/sage/plot/graphics.py b/src/sage/plot/graphics.py index c84302a4d2c..a5e46d07c2d 100644 --- a/src/sage/plot/graphics.py +++ b/src/sage/plot/graphics.py @@ -20,7 +20,6 @@ moved to new module :mod:`~sage.plot.multigraphics`; various improvements and fixes in :meth:`Graphics.matplotlib` and ``Graphics._set_scale``; new method :meth:`Graphics.inset` - """ # **************************************************************************** diff --git a/src/sage/plot/hyperbolic_arc.py b/src/sage/plot/hyperbolic_arc.py index 82b8bc33586..ef75f805348 100644 --- a/src/sage/plot/hyperbolic_arc.py +++ b/src/sage/plot/hyperbolic_arc.py @@ -60,7 +60,6 @@ For additional models of the hyperbolic plane and its relationship see [CFKP1997]_. For a more detailed explanation on hyperbolic arcs see [Sta1993]_. - """ # ***************************************************************************** # Copyright (C) 2011 Hartmut Monien , diff --git a/src/sage/plot/multigraphics.py b/src/sage/plot/multigraphics.py index f04755a7d09..f657e1d369e 100644 --- a/src/sage/plot/multigraphics.py +++ b/src/sage/plot/multigraphics.py @@ -13,7 +13,6 @@ - Eric Gourgoulhon (2019-05-24): initial version, refactoring the class ``GraphicsArray`` that was defined in the module :mod:`~sage.plot.graphics`. - """ import os from sage.misc.fast_methods import WithEqualityById diff --git a/src/sage/plot/plot3d/index_face_set.pyx b/src/sage/plot/plot3d/index_face_set.pyx index 1327809386e..4a98bfba774 100644 --- a/src/sage/plot/plot3d/index_face_set.pyx +++ b/src/sage/plot/plot3d/index_face_set.pyx @@ -14,7 +14,6 @@ AUTHORS: .. TODO:: Smooth triangles using vertex normals - """ # **************************************************************************** # Copyright (C) 2007 Robert Bradshaw diff --git a/src/sage/plot/plot3d/introduction.py b/src/sage/plot/plot3d/introduction.py index 8593c05cf5f..c55e37f4ef5 100644 --- a/src/sage/plot/plot3d/introduction.py +++ b/src/sage/plot/plot3d/introduction.py @@ -127,5 +127,4 @@ - :class:`~sage.plot.plot3d.tachyon.Texture` -- stores texture information - :func:`~sage.plot.plot3d.tachyon.tostr` -- converts vector information to a space-separated string - """ diff --git a/src/sage/plot/plot3d/parametric_surface.pyx b/src/sage/plot/plot3d/parametric_surface.pyx index a76946eb912..85e01276228 100644 --- a/src/sage/plot/plot3d/parametric_surface.pyx +++ b/src/sage/plot/plot3d/parametric_surface.pyx @@ -41,7 +41,6 @@ EXAMPLES:: sphinx_plot(MoebiusStrip(1,.2)) - By default, the surface is colored with one single color. :: sage: P = ParametricSurface(f, (srange(0,10,0.1), srange(-5,5.0,0.1)), diff --git a/src/sage/plot/plot3d/shapes.pyx b/src/sage/plot/plot3d/shapes.pyx index 694fca5bb4d..393fa10d7bc 100644 --- a/src/sage/plot/plot3d/shapes.pyx +++ b/src/sage/plot/plot3d/shapes.pyx @@ -39,7 +39,6 @@ EXAMPLES:: from sage.plot.plot3d.shapes import * sphinx_plot(Torus(.7, .2, color=(0,.3,0))) - """ # **************************************************************************** diff --git a/src/sage/plot/plot3d/shapes2.py b/src/sage/plot/plot3d/shapes2.py index 50c4b8b3a26..d188abad674 100644 --- a/src/sage/plot/plot3d/shapes2.py +++ b/src/sage/plot/plot3d/shapes2.py @@ -6,7 +6,6 @@ - William Stein (2007-12): initial version - William Stein and Robert Bradshaw (2008-01): Many improvements - """ #***************************************************************************** # Copyright (C) 2007 William Stein diff --git a/src/sage/plot/plot3d/texture.py b/src/sage/plot/plot3d/texture.py index 2a35a8577cb..c34d0bdd207 100644 --- a/src/sage/plot/plot3d/texture.py +++ b/src/sage/plot/plot3d/texture.py @@ -31,7 +31,6 @@ AUTHOR: - Robert Bradshaw (2007-07-07) Initial version. - """ from textwrap import dedent diff --git a/src/sage/quadratic_forms/quadratic_form__variable_substitutions.py b/src/sage/quadratic_forms/quadratic_form__variable_substitutions.py index cbcae91d9de..aa72053793b 100644 --- a/src/sage/quadratic_forms/quadratic_form__variable_substitutions.py +++ b/src/sage/quadratic_forms/quadratic_form__variable_substitutions.py @@ -1,6 +1,5 @@ """ Variable Substitution, Multiplication, Division, Scaling - """ # **************************************************************************** # Copyright (C) 2007 William Stein and Jonathan Hanke diff --git a/src/sage/quadratic_forms/ternary_qf.py b/src/sage/quadratic_forms/ternary_qf.py index cb7eeb179c8..58827a14e7c 100644 --- a/src/sage/quadratic_forms/ternary_qf.py +++ b/src/sage/quadratic_forms/ternary_qf.py @@ -8,7 +8,6 @@ Based in code of Gonzalo Tornaria The form `a\cdot x^2 + b\cdot y^2 + c\cdot z^2 + r\cdot yz + s\cdot xz + t\cdot xy` is stored as a tuple ``(a, b, c, r, s, t)`` of integers. - """ # **************************************************************************** diff --git a/src/sage/quivers/algebra_elements.pxi b/src/sage/quivers/algebra_elements.pxi index e5ce6b3b0ac..959b901fdd4 100644 --- a/src/sage/quivers/algebra_elements.pxi +++ b/src/sage/quivers/algebra_elements.pxi @@ -4,7 +4,6 @@ Boilerplate functions for a cython implementation of elements of path algebras AUTHORS: - Simon King (2015-08) - """ # **************************************************************************** diff --git a/src/sage/quivers/algebra_elements.pyx b/src/sage/quivers/algebra_elements.pyx index 3d05ba7e270..012105011c7 100644 --- a/src/sage/quivers/algebra_elements.pyx +++ b/src/sage/quivers/algebra_elements.pyx @@ -4,7 +4,6 @@ Path algebra elements AUTHORS: - Simon King (2015-08) - """ # **************************************************************************** diff --git a/src/sage/repl/ipython_kernel/install.py b/src/sage/repl/ipython_kernel/install.py index c80c2911cf6..ce36f537442 100644 --- a/src/sage/repl/ipython_kernel/install.py +++ b/src/sage/repl/ipython_kernel/install.py @@ -11,7 +11,6 @@ directories might be different during runs of the tests and actual installation and because we might be lacking write permission to places such as ``/usr/share``. - """ import errno diff --git a/src/sage/repl/rich_output/backend_emacs.py b/src/sage/repl/rich_output/backend_emacs.py index c06cc255a89..95d30309549 100644 --- a/src/sage/repl/rich_output/backend_emacs.py +++ b/src/sage/repl/rich_output/backend_emacs.py @@ -3,7 +3,6 @@ This module defines the Emacs backend for :mod:`sage.repl.rich_output` based on the IPython shell version. - """ # **************************************************************************** diff --git a/src/sage/rings/algebraic_closure_finite_field.py b/src/sage/rings/algebraic_closure_finite_field.py index 9e97df6517d..430037f7b31 100644 --- a/src/sage/rings/algebraic_closure_finite_field.py +++ b/src/sage/rings/algebraic_closure_finite_field.py @@ -52,7 +52,6 @@ - Peter Bruin (August 2013): initial version - Vincent Delecroix (November 2013): additional methods - """ from sage.misc.abstract_method import abstract_method diff --git a/src/sage/rings/bernmm.pyx b/src/sage/rings/bernmm.pyx index 8c6539150a7..82b1646a72f 100644 --- a/src/sage/rings/bernmm.pyx +++ b/src/sage/rings/bernmm.pyx @@ -36,7 +36,6 @@ cdef extern from "bernmm/bern_modp.h": long bern_modp "bernmm::bern_modp" (long p, long k) - from sage.rings.rational cimport Rational diff --git a/src/sage/rings/bernoulli_mod_p.pyx b/src/sage/rings/bernoulli_mod_p.pyx index ee73d6ad209..ff2948eec56 100644 --- a/src/sage/rings/bernoulli_mod_p.pyx +++ b/src/sage/rings/bernoulli_mod_p.pyx @@ -224,7 +224,6 @@ def bernoulli_mod_p(int p): return output - def bernoulli_mod_p_single(long p, long k): r""" Return the Bernoulli number `B_k` mod `p`. diff --git a/src/sage/rings/complex_double.pyx b/src/sage/rings/complex_double.pyx index aa4e284f231..51dd7fd46b6 100644 --- a/src/sage/rings/complex_double.pyx +++ b/src/sage/rings/complex_double.pyx @@ -56,7 +56,6 @@ AUTHORS: - Vincent Klein (2017-11-15) : add __mpc__() to class ComplexDoubleElement. ComplexDoubleElement constructor support and gmpy2.mpc parameter. - """ # **************************************************************************** @@ -2594,8 +2593,6 @@ cdef class ComplexToCDF(Morphism): return "Native" - - ##################################################### # unique objects ##################################################### diff --git a/src/sage/rings/complex_mpfr.pyx b/src/sage/rings/complex_mpfr.pyx index 6022d4147b9..054467981eb 100644 --- a/src/sage/rings/complex_mpfr.pyx +++ b/src/sage/rings/complex_mpfr.pyx @@ -2301,7 +2301,6 @@ cdef class ComplexNumber(sage.structure.element.FieldElement): return z - def eta(self, omit_frac=False): r""" Return the value of the Dedekind `\eta` function on ``self``, diff --git a/src/sage/rings/factorint.pyx b/src/sage/rings/factorint.pyx index 2144e6d71c7..9f8e04b0bb2 100644 --- a/src/sage/rings/factorint.pyx +++ b/src/sage/rings/factorint.pyx @@ -4,7 +4,6 @@ Integer factorization functions AUTHORS: - Andre Apitzsch (2011-01-13): initial version - """ # **************************************************************************** diff --git a/src/sage/rings/finite_rings/element_givaro.pyx b/src/sage/rings/finite_rings/element_givaro.pyx index 17b080eec16..4f6f6368c25 100644 --- a/src/sage/rings/finite_rings/element_givaro.pyx +++ b/src/sage/rings/finite_rings/element_givaro.pyx @@ -39,7 +39,6 @@ AUTHORS: - Martin Albrecht (2006-06-05) - William Stein (2006-12-07): editing, lots of docs, etc. - Robert Bradshaw (2007-05-23): is_square/sqrt, pow. - """ # **************************************************************************** diff --git a/src/sage/rings/finite_rings/finite_field_base.pyx b/src/sage/rings/finite_rings/finite_field_base.pyx index 2c49f3bc9ae..8eeed34dbf9 100644 --- a/src/sage/rings/finite_rings/finite_field_base.pyx +++ b/src/sage/rings/finite_rings/finite_field_base.pyx @@ -14,7 +14,6 @@ AUTHORS: - Adrien Brochard, David Roe, Jeroen Demeyer, Julian Rueth, Niles Johnson, Peter Bruin, Travis Scrimshaw, Xavier Caruso: initial version - """ #***************************************************************************** # Copyright (C) 2009 David Roe diff --git a/src/sage/rings/finite_rings/hom_finite_field.pyx b/src/sage/rings/finite_rings/hom_finite_field.pyx index 8a83bf48766..9aa5db8ea86 100644 --- a/src/sage/rings/finite_rings/hom_finite_field.pyx +++ b/src/sage/rings/finite_rings/hom_finite_field.pyx @@ -185,7 +185,6 @@ cdef class SectionFiniteFieldHomomorphism_generic(Section): return '\\verb"Section of "' + self._inverse._latex_() - cdef class FiniteFieldHomomorphism_generic(RingHomomorphism_im_gens): """ A class implementing embeddings between finite fields. diff --git a/src/sage/rings/finite_rings/hom_finite_field_givaro.pyx b/src/sage/rings/finite_rings/hom_finite_field_givaro.pyx index 0e67cb6f123..bf3e69f56a7 100644 --- a/src/sage/rings/finite_rings/hom_finite_field_givaro.pyx +++ b/src/sage/rings/finite_rings/hom_finite_field_givaro.pyx @@ -207,7 +207,6 @@ cdef class FiniteFieldHomomorphism_givaro(FiniteFieldHomomorphism_generic): return make_FiniteField_givaroElement(self._codomain_cache, log) - cdef class FrobeniusEndomorphism_givaro(FrobeniusEndomorphism_finite_field): def __init__(self, domain, power=1): """ diff --git a/src/sage/rings/finite_rings/maps_finite_field.py b/src/sage/rings/finite_rings/maps_finite_field.py index 0ae08a3d25d..9c8713f1a61 100644 --- a/src/sage/rings/finite_rings/maps_finite_field.py +++ b/src/sage/rings/finite_rings/maps_finite_field.py @@ -7,7 +7,6 @@ AUTHORS: - Kwankyu Lee (2017-11-07): initial version - """ #***************************************************************************** diff --git a/src/sage/rings/function_field/constructor.py b/src/sage/rings/function_field/constructor.py index 6dff57348a7..8eb407d1552 100644 --- a/src/sage/rings/function_field/constructor.py +++ b/src/sage/rings/function_field/constructor.py @@ -22,7 +22,6 @@ - Julian Rueth (2011-09-14): replaced ``@cached_function`` with ``UniqueFactory`` - """ # **************************************************************************** diff --git a/src/sage/rings/function_field/derivations.py b/src/sage/rings/function_field/derivations.py index 9a6f0f613a9..32252d41eff 100644 --- a/src/sage/rings/function_field/derivations.py +++ b/src/sage/rings/function_field/derivations.py @@ -18,7 +18,6 @@ derivation classes; morphisms to/from fraction fields - Kwankyu Lee (2017-04-30): added higher derivations and completions - """ # **************************************************************************** diff --git a/src/sage/rings/function_field/differential.py b/src/sage/rings/function_field/differential.py index 9b6fec9a72d..ba2144d910b 100644 --- a/src/sage/rings/function_field/differential.py +++ b/src/sage/rings/function_field/differential.py @@ -46,7 +46,6 @@ AUTHORS: - Kwankyu Lee (2017-04-30): initial version - """ # **************************************************************************** diff --git a/src/sage/rings/function_field/divisor.py b/src/sage/rings/function_field/divisor.py index 79d952e2247..f3dddb48d7c 100644 --- a/src/sage/rings/function_field/divisor.py +++ b/src/sage/rings/function_field/divisor.py @@ -37,7 +37,6 @@ AUTHORS: - Kwankyu Lee (2017-04-30): initial version - """ # **************************************************************************** diff --git a/src/sage/rings/function_field/element.pyx b/src/sage/rings/function_field/element.pyx index 2765b805aba..d88c6b10b57 100644 --- a/src/sage/rings/function_field/element.pyx +++ b/src/sage/rings/function_field/element.pyx @@ -45,7 +45,6 @@ AUTHORS: - Maarten Derickx (2011-09-11): added doctests, fixed pickling - Kwankyu Lee (2017-04-30): added elements for global function fields - """ # ***************************************************************************** # Copyright (C) 2010 William Stein diff --git a/src/sage/rings/function_field/extensions.py b/src/sage/rings/function_field/extensions.py index 9e42e5bff6b..e65532db39e 100644 --- a/src/sage/rings/function_field/extensions.py +++ b/src/sage/rings/function_field/extensions.py @@ -50,7 +50,6 @@ AUTHORS: - Kwankyu Lee (2021-12-24): added constant field extension - """ # **************************************************************************** diff --git a/src/sage/rings/function_field/function_field.py b/src/sage/rings/function_field/function_field.py index 53d53c3c2d4..5e8105db36a 100644 --- a/src/sage/rings/function_field/function_field.py +++ b/src/sage/rings/function_field/function_field.py @@ -222,7 +222,6 @@ - Sebastian A. Spindler (2024-03-06): implemented Hilbert symbols for global function fields - """ # ***************************************************************************** diff --git a/src/sage/rings/function_field/hermite_form_polynomial.pyx b/src/sage/rings/function_field/hermite_form_polynomial.pyx index 12881615315..955763e5cdf 100644 --- a/src/sage/rings/function_field/hermite_form_polynomial.pyx +++ b/src/sage/rings/function_field/hermite_form_polynomial.pyx @@ -40,7 +40,6 @@ Let us check it:: AUTHORS: - Kwankyu Lee (2021-05-21): initial version - """ # **************************************************************************** diff --git a/src/sage/rings/function_field/ideal.py b/src/sage/rings/function_field/ideal.py index 22aa15299b1..47fba9754f7 100644 --- a/src/sage/rings/function_field/ideal.py +++ b/src/sage/rings/function_field/ideal.py @@ -77,7 +77,6 @@ - Maarten Derickx (2011-09-14): fixed ideal_with_gens_over_base() - Kwankyu Lee (2017-04-30): added ideals for global function fields - """ # **************************************************************************** diff --git a/src/sage/rings/function_field/jacobian_base.py b/src/sage/rings/function_field/jacobian_base.py index 0f58eb5817f..7954a842f13 100644 --- a/src/sage/rings/function_field/jacobian_base.py +++ b/src/sage/rings/function_field/jacobian_base.py @@ -67,7 +67,6 @@ AUTHORS: - Kwankyu Lee (2022-01-24): initial version - """ # **************************************************************************** diff --git a/src/sage/rings/function_field/jacobian_hess.py b/src/sage/rings/function_field/jacobian_hess.py index 54980870b37..13e930fd620 100644 --- a/src/sage/rings/function_field/jacobian_hess.py +++ b/src/sage/rings/function_field/jacobian_hess.py @@ -48,7 +48,6 @@ AUTHORS: - Kwankyu Lee (2022-01-24): initial version - """ # **************************************************************************** diff --git a/src/sage/rings/function_field/jacobian_khuri_makdisi.py b/src/sage/rings/function_field/jacobian_khuri_makdisi.py index 436ddb6ad32..012dc983355 100644 --- a/src/sage/rings/function_field/jacobian_khuri_makdisi.py +++ b/src/sage/rings/function_field/jacobian_khuri_makdisi.py @@ -108,7 +108,6 @@ AUTHORS: - Kwankyu Lee (2022-01-24): initial version - """ # **************************************************************************** diff --git a/src/sage/rings/function_field/khuri_makdisi.pyx b/src/sage/rings/function_field/khuri_makdisi.pyx index f0cac80a1f2..266a83a5c54 100644 --- a/src/sage/rings/function_field/khuri_makdisi.pyx +++ b/src/sage/rings/function_field/khuri_makdisi.pyx @@ -50,7 +50,6 @@ preimage `W_D` such that `\mu_{n,m}(W_D,W_E)=W_F` of the expected codimension AUTHORS: - Kwankyu Lee (2022-01): initial version - """ # **************************************************************************** diff --git a/src/sage/rings/function_field/maps.py b/src/sage/rings/function_field/maps.py index 85377f1c894..dedd3d2a998 100644 --- a/src/sage/rings/function_field/maps.py +++ b/src/sage/rings/function_field/maps.py @@ -34,7 +34,6 @@ derivation classes; morphisms to/from fraction fields - Kwankyu Lee (2017-04-30): added higher derivations and completions - """ # **************************************************************************** diff --git a/src/sage/rings/function_field/order.py b/src/sage/rings/function_field/order.py index 5b550555f34..6ffe40c5faf 100644 --- a/src/sage/rings/function_field/order.py +++ b/src/sage/rings/function_field/order.py @@ -96,7 +96,6 @@ - Kwankyu Lee (2017-04-30): added maximal orders of global function fields - Brent Baccala (2019-12-20): support orders in characteristic zero - """ # **************************************************************************** diff --git a/src/sage/rings/function_field/place.py b/src/sage/rings/function_field/place.py index dbc3ab0e767..efff8d4305e 100644 --- a/src/sage/rings/function_field/place.py +++ b/src/sage/rings/function_field/place.py @@ -44,7 +44,6 @@ - Kwankyu Lee (2017-04-30): initial version - Brent Baccala (2019-12-20): function fields of characteristic zero - """ # **************************************************************************** diff --git a/src/sage/rings/function_field/valuation.py b/src/sage/rings/function_field/valuation.py index aa127de2069..5bd32b7901e 100644 --- a/src/sage/rings/function_field/valuation.py +++ b/src/sage/rings/function_field/valuation.py @@ -138,7 +138,6 @@ An overview of some computational tools relating to valuations on function fields can be found in Section 4.6 of [Rüt2014]_. Most of this was originally developed for number fields in [Mac1936I]_ and [Mac1936II]_. - """ # **************************************************************************** diff --git a/src/sage/rings/function_field/valuation_ring.py b/src/sage/rings/function_field/valuation_ring.py index b9ab7d50fb9..81fc97d3324 100644 --- a/src/sage/rings/function_field/valuation_ring.py +++ b/src/sage/rings/function_field/valuation_ring.py @@ -53,7 +53,6 @@ AUTHORS: - Kwankyu Lee (2017-04-30): initial version - """ # **************************************************************************** diff --git a/src/sage/rings/lazy_series.py b/src/sage/rings/lazy_series.py index e49240c5a46..74744c311da 100644 --- a/src/sage/rings/lazy_series.py +++ b/src/sage/rings/lazy_series.py @@ -207,7 +207,6 @@ sage: m.inverse() [ 1 + z + 2*z^2 + 3*z^3 + 4*z^4 + 5*z^5 + 6*z^6 + O(z^7) -1 - 2*z - 3*z^2 - 4*z^3 - 5*z^4 - 6*z^5 - 7*z^6 + O(z^7)] [ -1 - z - 3*z^2 - 3*z^3 - 5*z^4 - 5*z^5 - 7*z^6 + O(z^7) 2 + 2*z + 4*z^2 + 4*z^3 + 6*z^4 + 6*z^5 + 8*z^6 + O(z^7)] - """ # **************************************************************************** diff --git a/src/sage/rings/multi_power_series_ring.py b/src/sage/rings/multi_power_series_ring.py index f2e47ccc835..d399fdb6c0b 100644 --- a/src/sage/rings/multi_power_series_ring.py +++ b/src/sage/rings/multi_power_series_ring.py @@ -191,7 +191,6 @@ - Niles Johnson (2010-07): initial code - Simon King (2012-08, 2013-02): Use category and coercion framework, :issue:`13412` and :issue:`14084` - """ #***************************************************************************** diff --git a/src/sage/rings/multi_power_series_ring_element.py b/src/sage/rings/multi_power_series_ring_element.py index a92bb54377a..32e16def317 100644 --- a/src/sage/rings/multi_power_series_ring_element.py +++ b/src/sage/rings/multi_power_series_ring_element.py @@ -146,7 +146,6 @@ - Niles Johnson (07/2010): initial code - Simon King (08/2012): Use category and coercion framework, :issue:`13412` - """ # **************************************************************************** # Copyright (C) 2010 Niles Johnson diff --git a/src/sage/rings/number_field/S_unit_solver.py b/src/sage/rings/number_field/S_unit_solver.py index 2d402176cd3..759d6b8da74 100644 --- a/src/sage/rings/number_field/S_unit_solver.py +++ b/src/sage/rings/number_field/S_unit_solver.py @@ -37,7 +37,6 @@ - Alejandra Alvarado, Angelos Koutsianas, Beth Malmskog, Christopher Rasmussen, David Roe, Christelle Vincent, Mckenzie West (2018-04-25 to 2018-11-09): original version - """ diff --git a/src/sage/rings/number_field/bdd_height.py b/src/sage/rings/number_field/bdd_height.py index beed9da5e20..7419361579f 100644 --- a/src/sage/rings/number_field/bdd_height.py +++ b/src/sage/rings/number_field/bdd_height.py @@ -13,7 +13,6 @@ - John Doyle, David Krumm (2013): initial version - TJ Combs, Raghukul Raman (2018): added Doyle-Krumm algorithm-4 - """ # **************************************************************************** # Copyright (C) 2013 John Doyle and David Krumm diff --git a/src/sage/rings/number_field/galois_group.py b/src/sage/rings/number_field/galois_group.py index 999089d49d0..364abc0f706 100644 --- a/src/sage/rings/number_field/galois_group.py +++ b/src/sage/rings/number_field/galois_group.py @@ -6,7 +6,6 @@ - William Stein (2004, 2005): initial version - David Loeffler (2009): rewrote to give explicit homomorphism groups - """ from sage.structure.sage_object import SageObject diff --git a/src/sage/rings/number_field/number_field.py b/src/sage/rings/number_field/number_field.py index e13806ad619..f9e0d656a71 100644 --- a/src/sage/rings/number_field/number_field.py +++ b/src/sage/rings/number_field/number_field.py @@ -64,7 +64,6 @@ - John Jones (2017-07): improved check for is_galois(), add is_abelian(), building on work in patch by Chris Wuthrich - Anna Haensch (2018-03): added :meth:`quadratic_defect` - Michael Daub, Chris Wuthrich (2020-09-01): added Dirichlet characters for abelian fields - """ # **************************************************************************** # Copyright (C) 2004-2007 William Stein diff --git a/src/sage/rings/number_field/number_field_base.pyx b/src/sage/rings/number_field/number_field_base.pyx index 7f55d887a0f..651ff62f7c1 100644 --- a/src/sage/rings/number_field/number_field_base.pyx +++ b/src/sage/rings/number_field/number_field_base.pyx @@ -5,7 +5,6 @@ Base class of number fields AUTHORS: - William Stein (2007-09-04): initial version - """ diff --git a/src/sage/rings/number_field/number_field_element.pyx b/src/sage/rings/number_field/number_field_element.pyx index 844a4ec3162..dee59e7a424 100644 --- a/src/sage/rings/number_field/number_field_element.pyx +++ b/src/sage/rings/number_field/number_field_element.pyx @@ -19,7 +19,6 @@ AUTHORS: heights - Robert Harron (2012-08): conjugate() now works for all fields contained in CM fields - """ # **************************************************************************** # Copyright (C) 2004, 2007 William Stein diff --git a/src/sage/rings/number_field/number_field_element_quadratic.pyx b/src/sage/rings/number_field/number_field_element_quadratic.pyx index f48df864b74..fae4e6add71 100644 --- a/src/sage/rings/number_field/number_field_element_quadratic.pyx +++ b/src/sage/rings/number_field/number_field_element_quadratic.pyx @@ -23,7 +23,6 @@ AUTHORS: - David Loeffler (2009-05): added more documentation and tests - Vincent Delecroix (2012-07): added comparisons for quadratic number fields (:issue:`13213`), abs, floor and ceil functions (:issue:`13256`) - """ # **************************************************************************** # Copyright (C) 2007 Robert Bradshaw diff --git a/src/sage/rings/number_field/number_field_ideal.py b/src/sage/rings/number_field/number_field_ideal.py index 36e568fbe96..f5666146e3c 100644 --- a/src/sage/rings/number_field/number_field_ideal.py +++ b/src/sage/rings/number_field/number_field_ideal.py @@ -10,7 +10,6 @@ NumberFieldFractionalIdeal now used for all except the 0 ideal - Radoslav Kirov and Alyson Deines (2010-06-22): prime_to_S_part, is_S_unit, is_S_integral - """ # **************************************************************************** diff --git a/src/sage/rings/number_field/number_field_ideal_rel.py b/src/sage/rings/number_field/number_field_ideal_rel.py index 7c0e4daa7a2..2259b4c715a 100644 --- a/src/sage/rings/number_field/number_field_ideal_rel.py +++ b/src/sage/rings/number_field/number_field_ideal_rel.py @@ -20,7 +20,6 @@ - Steven Sivek (2005-05-16) - William Stein (2007-09-06) - Nick Alexander (2009-01) - """ #***************************************************************************** diff --git a/src/sage/rings/number_field/number_field_rel.py b/src/sage/rings/number_field/number_field_rel.py index 7d7c150d9d0..8f6ff7a92fc 100644 --- a/src/sage/rings/number_field/number_field_rel.py +++ b/src/sage/rings/number_field/number_field_rel.py @@ -62,7 +62,6 @@ - Nick Alexander (2009-01): modernized coercion implementation - Robert Harron (2012-08): added is_CM_extension - Julian Rüth (2014-04): absolute number fields are unique parents - """ # **************************************************************************** # Copyright (C) 2004-2009 William Stein diff --git a/src/sage/rings/number_field/order.py b/src/sage/rings/number_field/order.py index 94d0732704d..0ee5bd3d188 100644 --- a/src/sage/rings/number_field/order.py +++ b/src/sage/rings/number_field/order.py @@ -39,7 +39,6 @@ AUTHORS: - William Stein and Robert Bradshaw (2007-09): initial version - """ # **************************************************************************** # Copyright (C) 2007 Robert Bradshaw diff --git a/src/sage/rings/number_field/selmer_group.py b/src/sage/rings/number_field/selmer_group.py index f91b57e09cc..49b4030b2e9 100644 --- a/src/sage/rings/number_field/selmer_group.py +++ b/src/sage/rings/number_field/selmer_group.py @@ -32,7 +32,6 @@ AUTHORS: - John Cremona (2005-2021) - """ # **************************************************************************** diff --git a/src/sage/rings/number_field/small_primes_of_degree_one.py b/src/sage/rings/number_field/small_primes_of_degree_one.py index 73f770c34dd..fe456005fed 100644 --- a/src/sage/rings/number_field/small_primes_of_degree_one.py +++ b/src/sage/rings/number_field/small_primes_of_degree_one.py @@ -76,7 +76,6 @@ - Nick Alexander (2008): initial version - David Loeffler (2009): fixed a bug with relative fields - Maarten Derickx (2017): fixed a bug with number fields not generated by an integral element - """ #***************************************************************************** diff --git a/src/sage/rings/number_field/splitting_field.py b/src/sage/rings/number_field/splitting_field.py index 4de3515f161..ef26176664a 100644 --- a/src/sage/rings/number_field/splitting_field.py +++ b/src/sage/rings/number_field/splitting_field.py @@ -5,7 +5,6 @@ - Jeroen Demeyer (2014-01-02): initial version for :issue:`2217` - Jeroen Demeyer (2014-01-03): added ``abort_degree`` argument, :issue:`15626` - """ #***************************************************************************** diff --git a/src/sage/rings/number_field/structure.py b/src/sage/rings/number_field/structure.py index 92be301645b..b2b51997528 100644 --- a/src/sage/rings/number_field/structure.py +++ b/src/sage/rings/number_field/structure.py @@ -43,7 +43,6 @@ AUTHORS: - Julian Rueth (2014-04-03): initial version - """ #***************************************************************************** # Copyright (C) 2014 Julian Rueth diff --git a/src/sage/rings/number_field/totallyreal.pyx b/src/sage/rings/number_field/totallyreal.pyx index f50de987968..87c77b2e264 100644 --- a/src/sage/rings/number_field/totallyreal.pyx +++ b/src/sage/rings/number_field/totallyreal.pyx @@ -71,7 +71,6 @@ AUTHORS: recomputations; separated DSage component - Craig Citro and John Voight (2007-11-04): additional doctests and type checking - Craig Citro and John Voight (2008-02-10): final modifications for submission - """ # **************************************************************************** diff --git a/src/sage/rings/number_field/totallyreal_data.pyx b/src/sage/rings/number_field/totallyreal_data.pyx index 32efb720668..0cb860c1723 100644 --- a/src/sage/rings/number_field/totallyreal_data.pyx +++ b/src/sage/rings/number_field/totallyreal_data.pyx @@ -8,7 +8,6 @@ AUTHORS: - John Voight (2007-09-19): various optimization tweaks - John Voight (2007-10-09): improvements: Smyth bound, Lagrange multipliers for b - Craig Citro and John Voight (2007-11-04): type checking and other polishing - """ #***************************************************************************** @@ -424,7 +423,6 @@ def easy_is_irreducible_py(f): return easy_is_irreducible(a, len(f)-1) - #**************************************************************************** # Main class and routine #**************************************************************************** diff --git a/src/sage/rings/padics/README.txt b/src/sage/rings/padics/README.txt index 2fc16002482..b1204f9c63a 100644 --- a/src/sage/rings/padics/README.txt +++ b/src/sage/rings/padics/README.txt @@ -7,7 +7,7 @@ # http://www.gnu.org/licenses/ #***************************************************************************** -This document aims at explaining the (somehow complicated) file structure and +This document aims at explaining the (somehow complicated) file structure and class hierarchy for p-adics in Sage. @@ -65,7 +65,6 @@ pAdicGeneric ......................................................... [padic_ge RelativeRamifiedExtensionFieldFloatingPoint .............. [relative_extension_leaves.py] - Below is the hierarchy for element classes. Here all dependencies are represented since Cython does not allow multiple inheritance. diff --git a/src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx b/src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx index 58f5670aa05..f10738d25d1 100644 --- a/src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx +++ b/src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx @@ -157,7 +157,6 @@ AUTHORS: - Robert Harron (2011-09): fixes/enhancements - Julian Rueth (2012-10-15): fixed an initialization bug - """ # **************************************************************************** # Copyright (C) 2008 David Roe diff --git a/src/sage/rings/padics/padic_ZZ_pX_CR_element.pyx b/src/sage/rings/padics/padic_ZZ_pX_CR_element.pyx index ec86b03535b..8c29fa3ee73 100644 --- a/src/sage/rings/padics/padic_ZZ_pX_CR_element.pyx +++ b/src/sage/rings/padics/padic_ZZ_pX_CR_element.pyx @@ -175,7 +175,6 @@ AUTHORS: - Robert Harron (2011-09): fixes/enhancements - Julian Rueth (2014-05-09): enable caching through ``_cache_key`` - """ # **************************************************************************** # Copyright (C) 2008 David Roe diff --git a/src/sage/rings/padics/padic_base_leaves.py b/src/sage/rings/padics/padic_base_leaves.py index efd4073c30d..c89cb6a87ed 100644 --- a/src/sage/rings/padics/padic_base_leaves.py +++ b/src/sage/rings/padics/padic_base_leaves.py @@ -174,7 +174,6 @@ class names.:: sage: repr(R(2777))[3:] '0&0&0&0&0&0&0&0&0&0&4&2&1&0&2' sage: TestSuite(R).run() # needs sage.geometry.polyhedron - """ #***************************************************************************** diff --git a/src/sage/rings/padics/padic_generic_element.pyx b/src/sage/rings/padics/padic_generic_element.pyx index f7a7ab19ceb..9d80a205a5a 100644 --- a/src/sage/rings/padics/padic_generic_element.pyx +++ b/src/sage/rings/padics/padic_generic_element.pyx @@ -12,7 +12,6 @@ AUTHORS: - David Harvey: doctests - Julian Rueth: fixes for exp() and log(), implemented gcd, xgcd - """ # **************************************************************************** # Copyright (C) 2007-2013 David Roe diff --git a/src/sage/rings/padics/padic_valuation.py b/src/sage/rings/padics/padic_valuation.py index 2230ff9e060..1cf29093ba6 100644 --- a/src/sage/rings/padics/padic_valuation.py +++ b/src/sage/rings/padics/padic_valuation.py @@ -31,7 +31,6 @@ The theory used here was originally developed in [Mac1936I]_ and [Mac1936II]_. An overview can also be found in Chapter 4 of [Rüt2014]_. - """ #***************************************************************************** # Copyright (C) 2013-2020 Julian Rüth diff --git a/src/sage/rings/padics/pow_computer_relative.pyx b/src/sage/rings/padics/pow_computer_relative.pyx index e62881b2695..507a22526fa 100644 --- a/src/sage/rings/padics/pow_computer_relative.pyx +++ b/src/sage/rings/padics/pow_computer_relative.pyx @@ -14,7 +14,6 @@ working on linkages or other low-level `p`-adics code within the Sage library. AUTHORS: - David Roe, Julian Rüth (2017-06-11): initial version - """ # **************************************************************************** # Copyright (C) 2017 David Roe diff --git a/src/sage/rings/polynomial/infinite_polynomial_element.py b/src/sage/rings/polynomial/infinite_polynomial_element.py index de9c3fe2347..bb263b21a51 100644 --- a/src/sage/rings/polynomial/infinite_polynomial_element.py +++ b/src/sage/rings/polynomial/infinite_polynomial_element.py @@ -82,7 +82,6 @@ Infinite polynomial ring in b, c over Infinite polynomial ring in a over Integer Ring sage: 1/2*b_1*a[4] + c[3] 1/2*a_4*b_1 + c_3 - """ # **************************************************************************** diff --git a/src/sage/rings/polynomial/laurent_polynomial_ideal.py b/src/sage/rings/polynomial/laurent_polynomial_ideal.py index d569dc06101..db09032f7c5 100644 --- a/src/sage/rings/polynomial/laurent_polynomial_ideal.py +++ b/src/sage/rings/polynomial/laurent_polynomial_ideal.py @@ -10,7 +10,6 @@ AUTHORS: - Kiran S. Kedlaya (2020): initial implementation - """ # **************************************************************************** # Copyright (C) 2020 Kiran S. Kedlaya diff --git a/src/sage/rings/polynomial/multi_polynomial_ideal.py b/src/sage/rings/polynomial/multi_polynomial_ideal.py index c8120f1cb62..d5b7dce9866 100644 --- a/src/sage/rings/polynomial/multi_polynomial_ideal.py +++ b/src/sage/rings/polynomial/multi_polynomial_ideal.py @@ -212,7 +212,6 @@ Singular 3.1 - John Perry (2012): bug fixing equality & containment of ideals - """ # **************************************************************************** diff --git a/src/sage/rings/polynomial/multi_polynomial_libsingular.pyx b/src/sage/rings/polynomial/multi_polynomial_libsingular.pyx index 7bb968c3121..a404e8d5c38 100644 --- a/src/sage/rings/polynomial/multi_polynomial_libsingular.pyx +++ b/src/sage/rings/polynomial/multi_polynomial_libsingular.pyx @@ -146,7 +146,6 @@ AUTHORS: ring. - Volker Braun (2011-06): major cleanup, refcount singular rings, bugfixes. - """ # ******************************************************************** @@ -785,9 +784,6 @@ cdef class MPolynomialRing_libsingular(MPolynomialRing_base): sage: R. = F[] sage: R('d*z+x^2*y') x^2*y + d*z - - - """ cdef poly *_p cdef poly *mon diff --git a/src/sage/rings/polynomial/ore_polynomial_ring.py b/src/sage/rings/polynomial/ore_polynomial_ring.py index 3a3983a3911..b3848f0a10c 100644 --- a/src/sage/rings/polynomial/ore_polynomial_ring.py +++ b/src/sage/rings/polynomial/ore_polynomial_ring.py @@ -10,7 +10,6 @@ AUTHOR: - Xavier Caruso (2020-04) - """ # *************************************************************************** # Copyright (C) 2020 Xavier Caruso diff --git a/src/sage/rings/polynomial/padics/polynomial_padic.py b/src/sage/rings/polynomial/padics/polynomial_padic.py index 2e9e1f36da1..f836a41957e 100644 --- a/src/sage/rings/polynomial/padics/polynomial_padic.py +++ b/src/sage/rings/polynomial/padics/polynomial_padic.py @@ -9,7 +9,6 @@ - Jeroen Demeyer (2013-11-22): initial version, split off from other files, made Polynomial_padic the common base class for all p-adic polynomials. - """ #***************************************************************************** diff --git a/src/sage/rings/polynomial/pbori/gbcore.py b/src/sage/rings/polynomial/pbori/gbcore.py index b5bc0a56192..836d5f7a2a6 100644 --- a/src/sage/rings/polynomial/pbori/gbcore.py +++ b/src/sage/rings/polynomial/pbori/gbcore.py @@ -624,7 +624,6 @@ def build_groebner_basis_doc_string(): Turn off heuristic by setting heuristic=False Additional options come from the actual buchberger implementation. In case of our standard Python implementation these are the following: - """ gdoc += "\n".join(k + " : " + repr(additional_options_from_buchberger[k]) for k in additional_options_from_buchberger) diff --git a/src/sage/rings/polynomial/pbori/pbori.pyx b/src/sage/rings/polynomial/pbori/pbori.pyx index 15bc606ac0e..3c06d1e390e 100644 --- a/src/sage/rings/polynomial/pbori/pbori.pyx +++ b/src/sage/rings/polynomial/pbori/pbori.pyx @@ -5433,8 +5433,6 @@ cdef class BooleSet: X\times Y = \{(x,y) | x\in X\;\mathrm{and}\;y\in Y\}. - - EXAMPLES:: sage: B = BooleanPolynomialRing(5,'x') diff --git a/src/sage/rings/polynomial/polynomial_compiled.pxd b/src/sage/rings/polynomial/polynomial_compiled.pxd index e1b11ec1a41..a7fca760037 100644 --- a/src/sage/rings/polynomial/polynomial_compiled.pxd +++ b/src/sage/rings/polynomial/polynomial_compiled.pxd @@ -56,9 +56,3 @@ cdef class mul_pd(binary_pd): cdef class abc_pd(binary_pd): cdef int index - - - - - - diff --git a/src/sage/rings/polynomial/polynomial_compiled.pyx b/src/sage/rings/polynomial/polynomial_compiled.pyx index 1a140067ad3..01fac1e932f 100644 --- a/src/sage/rings/polynomial/polynomial_compiled.pyx +++ b/src/sage/rings/polynomial/polynomial_compiled.pyx @@ -268,7 +268,6 @@ cdef class CompiledPolynomialFunction: T = gaps.pop_max() - ######################################################## # # Polynomial DAG Code @@ -331,8 +330,6 @@ cdef class CompiledPolynomialFunction: # reference. - - # These inline functions are called wherever a node gets # evaluated. First, pd_eval is called to ensure that the # target DAG node will have its .value property set. It @@ -458,7 +455,6 @@ cdef class pow_pd(unary_pd): return "(%s^%s)" % (self.left, self.exponent) - cdef class binary_pd(generic_pd): def __init__(binary_pd self, generic_pd left, generic_pd right): generic_pd.__init__(self) diff --git a/src/sage/rings/polynomial/polynomial_complex_arb.pyx b/src/sage/rings/polynomial/polynomial_complex_arb.pyx index 7c0ce60c9e3..8c96385c1e2 100644 --- a/src/sage/rings/polynomial/polynomial_complex_arb.pyx +++ b/src/sage/rings/polynomial/polynomial_complex_arb.pyx @@ -19,7 +19,6 @@ TESTS: sage: Pol. = CBF[] sage: (x+1/2)^3 x^3 + 1.500000000000000*x^2 + 0.7500000000000000*x + 0.1250000000000000 - """ from cysignals.signals cimport sig_on, sig_off diff --git a/src/sage/rings/polynomial/polynomial_element.pyx b/src/sage/rings/polynomial/polynomial_element.pyx index 67f7f4c95e4..19372333cdb 100644 --- a/src/sage/rings/polynomial/polynomial_element.pyx +++ b/src/sage/rings/polynomial/polynomial_element.pyx @@ -43,7 +43,6 @@ AUTHORS: - Sebastian Oehms (2018-10): made :meth:`roots` and :meth:`factor` work over more cases of proper integral domains (see :issue:`26421`) - """ # **************************************************************************** diff --git a/src/sage/rings/polynomial/polynomial_integer_dense_ntl.pyx b/src/sage/rings/polynomial/polynomial_integer_dense_ntl.pyx index 6a0747d40e9..c4f175040bb 100644 --- a/src/sage/rings/polynomial/polynomial_integer_dense_ntl.pyx +++ b/src/sage/rings/polynomial/polynomial_integer_dense_ntl.pyx @@ -567,7 +567,6 @@ cdef class Polynomial_integer_dense_ntl(Polynomial): return qq, rr - @coerce_binop def gcd(self, right): r""" diff --git a/src/sage/rings/polynomial/polynomial_modn_dense_ntl.pyx b/src/sage/rings/polynomial/polynomial_modn_dense_ntl.pyx index 04bef814741..67cf90ac01f 100644 --- a/src/sage/rings/polynomial/polynomial_modn_dense_ntl.pyx +++ b/src/sage/rings/polynomial/polynomial_modn_dense_ntl.pyx @@ -1233,7 +1233,6 @@ cdef class Polynomial_dense_modn_ntl_zz(Polynomial_dense_mod_n): return self._parent(int(fx)) - cdef class Polynomial_dense_modn_ntl_ZZ(Polynomial_dense_mod_n): def __init__(self, parent, v=None, check=True, is_gen=False, construct=False): diff --git a/src/sage/rings/polynomial/polynomial_ring.py b/src/sage/rings/polynomial/polynomial_ring.py index a92a4070a7f..9efdcf5cf32 100644 --- a/src/sage/rings/polynomial/polynomial_ring.py +++ b/src/sage/rings/polynomial/polynomial_ring.py @@ -126,7 +126,6 @@ sage: v2 = vector([CDF(2)]) # needs sage.modules sage: v1 * v2 # needs sage.modules 2.0*u - """ # **************************************************************************** diff --git a/src/sage/rings/polynomial/polynomial_ring_homomorphism.pyx b/src/sage/rings/polynomial/polynomial_ring_homomorphism.pyx index 7e3e27dd520..c2f0e900c2a 100644 --- a/src/sage/rings/polynomial/polynomial_ring_homomorphism.pyx +++ b/src/sage/rings/polynomial/polynomial_ring_homomorphism.pyx @@ -13,7 +13,6 @@ This module currently implements the canonical ring homomorphism from AUTHORS: - Peter Bruin (March 2014): initial version - """ from sage.rings.morphism cimport RingHomomorphism_from_base diff --git a/src/sage/rings/polynomial/polynomial_singular_interface.py b/src/sage/rings/polynomial/polynomial_singular_interface.py index 4d7475fa13b..3d066e68631 100644 --- a/src/sage/rings/polynomial/polynomial_singular_interface.py +++ b/src/sage/rings/polynomial/polynomial_singular_interface.py @@ -16,7 +16,6 @@ sage: P. = PolynomialRing(GF(7), 2) sage: f = (a^3 + 2*b^2*a)^7; f a^21 + 2*a^7*b^14 - """ ################################################################# # diff --git a/src/sage/rings/polynomial/symmetric_ideal.py b/src/sage/rings/polynomial/symmetric_ideal.py index 07bf2909b0b..660e9f9fe4b 100644 --- a/src/sage/rings/polynomial/symmetric_ideal.py +++ b/src/sage/rings/polynomial/symmetric_ideal.py @@ -41,7 +41,6 @@ sage: Q(p)*x[2] == Q(p)*x[1]*x[3]*x[5] # needs sage.combinat True - """ # **************************************************************************** # Copyright (C) 2009 Simon King diff --git a/src/sage/rings/polynomial/symmetric_reduction.pyx b/src/sage/rings/polynomial/symmetric_reduction.pyx index aec233e2710..98305d20769 100644 --- a/src/sage/rings/polynomial/symmetric_reduction.pyx +++ b/src/sage/rings/polynomial/symmetric_reduction.pyx @@ -103,7 +103,6 @@ Symmetric Reduction Strategy is created:: with tailreduction sage: S2.reduce(x[3] + 2*x[2]*y[1]^2 + 3*y[2]^2*x[1]) # needs sage.combinat x_3 - """ # **************************************************************************** diff --git a/src/sage/rings/polynomial/term_order.py b/src/sage/rings/polynomial/term_order.py index 78ee8e13ca0..431e3b03fa6 100644 --- a/src/sage/rings/polynomial/term_order.py +++ b/src/sage/rings/polynomial/term_order.py @@ -359,7 +359,6 @@ - Kwankyu Lee: implemented matrix and weighted degree term orders - Simon King (2011-06-06): added termorder_from_singular - """ #***************************************************************************** # This program is free software: you can redistribute it and/or modify diff --git a/src/sage/rings/polynomial/toy_buchberger.py b/src/sage/rings/polynomial/toy_buchberger.py index 4edd2491b6d..5ee623b4ef0 100644 --- a/src/sage/rings/polynomial/toy_buchberger.py +++ b/src/sage/rings/polynomial/toy_buchberger.py @@ -140,7 +140,6 @@ - Martin Albrecht (2007-05-24): initial version - Marshall Hampton (2009-07-08): some doctest additions - """ from sage.misc.verbose import get_verbose diff --git a/src/sage/rings/power_series_pari.pyx b/src/sage/rings/power_series_pari.pyx index 24792c94123..c9ff9beeee7 100644 --- a/src/sage/rings/power_series_pari.pyx +++ b/src/sage/rings/power_series_pari.pyx @@ -56,7 +56,6 @@ implementation for power series over `k`:: AUTHORS: - Peter Bruin (December 2013): initial version - """ # **************************************************************************** diff --git a/src/sage/rings/power_series_ring.py b/src/sage/rings/power_series_ring.py index 28c535ac7cc..1052d963bdc 100644 --- a/src/sage/rings/power_series_ring.py +++ b/src/sage/rings/power_series_ring.py @@ -131,7 +131,6 @@ sage: M is loads(dumps(M)) True sage: TestSuite(M).run() - """ import sage.categories.commutative_rings as commutative_rings diff --git a/src/sage/rings/power_series_ring_element.pyx b/src/sage/rings/power_series_ring_element.pyx index e3e8525f6ec..8e1b76a7cc9 100644 --- a/src/sage/rings/power_series_ring_element.pyx +++ b/src/sage/rings/power_series_ring_element.pyx @@ -2344,11 +2344,8 @@ cdef class PowerSeries(AlgebraElement): f'(t) = a(t) f(t) + b(t). - - INPUT: - - ``self`` -- the power series `a(t)` - ``b`` -- the power series `b(t)` (default is @@ -2360,7 +2357,6 @@ cdef class PowerSeries(AlgebraElement): - ``prec`` -- desired precision of result (this will be reduced if either a or b have less precision available) - OUTPUT: the power series `f`, to indicated precision ALGORITHM: A divide-and-conquer strategy; see the source code. @@ -2899,8 +2895,6 @@ def _solve_linear_de(R, N, L, a, b, f0): (t^N g)' = a t^N g + t^{N-1} b + O(t^{N+L'-1}). - - Next we want to find `h` modulo `t^{L-L'}` such that `f = g + t^{L'} h` is a solution of the original equation. We can find a suitable `h` by recursively solving diff --git a/src/sage/rings/qqbar.py b/src/sage/rings/qqbar.py index 5f6bee106c7..f6d391679a6 100644 --- a/src/sage/rings/qqbar.py +++ b/src/sage/rings/qqbar.py @@ -578,7 +578,6 @@ - Carl Witty (2007-01-27): initial version - Carl Witty (2007-10-29): massive rewrite to support complex as well as real numbers - """ import itertools diff --git a/src/sage/rings/quotient_ring.py b/src/sage/rings/quotient_ring.py index 634ccae3a4a..468f81115b7 100644 --- a/src/sage/rings/quotient_ring.py +++ b/src/sage/rings/quotient_ring.py @@ -101,7 +101,6 @@ sage: Q2 = F.quo(F*[F.prod(m) for m in product(F.gens(), repeat=2)]*F) sage: Q2.is_commutative() True - """ # **************************************************************************** # Copyright (C) 2005 William Stein diff --git a/src/sage/rings/rational_field.py b/src/sage/rings/rational_field.py index 7efb5e963d6..5234ea105e2 100644 --- a/src/sage/rings/rational_field.py +++ b/src/sage/rings/rational_field.py @@ -51,7 +51,6 @@ Removed duplicates of ``discriminant()`` and ``signature()``. - Anna Haensch (2018-03): Added function ``quadratic_defect()`` - """ from sage.rings.integer import Integer diff --git a/src/sage/rings/real_lazy.pyx b/src/sage/rings/real_lazy.pyx index 1ba394741fa..00759d138cb 100644 --- a/src/sage/rings/real_lazy.pyx +++ b/src/sage/rings/real_lazy.pyx @@ -523,7 +523,6 @@ def ComplexLazyField(): return CLF - cdef int get_new_prec(R, int depth) except -1: """ There are depth operations, so we want at least that many more digits of diff --git a/src/sage/rings/tate_algebra.py b/src/sage/rings/tate_algebra.py index 9fe6bb5d0d5..52f264b1761 100644 --- a/src/sage/rings/tate_algebra.py +++ b/src/sage/rings/tate_algebra.py @@ -117,7 +117,6 @@ AUTHORS: - Xavier Caruso, Thibaut Verron (2018-09) - """ diff --git a/src/sage/rings/tate_algebra_element.pyx b/src/sage/rings/tate_algebra_element.pyx index 418b07f7cef..86b0a4dba52 100644 --- a/src/sage/rings/tate_algebra_element.pyx +++ b/src/sage/rings/tate_algebra_element.pyx @@ -6,7 +6,6 @@ A class for series in Tate algebras. AUTHOR: - Xavier Caruso, Thibaut Verron (2018-09) - """ # *************************************************************************** @@ -38,7 +37,6 @@ from sage.rings.padics.padic_generic_element cimport pAdicGenericElement from sage.rings.padics.precision_error import PrecisionError - def _pushout_family(elements, initial=ZZ): """ Return a parent in which ``initial`` and all elements diff --git a/src/sage/rings/tate_algebra_ideal.pyx b/src/sage/rings/tate_algebra_ideal.pyx index a2c81e827a4..acad1be5fd3 100644 --- a/src/sage/rings/tate_algebra_ideal.pyx +++ b/src/sage/rings/tate_algebra_ideal.pyx @@ -399,7 +399,6 @@ class TateAlgebraIdeal(Ideal_generic): return self.ring().ideal(gens) - # Grobner bases computations ############################ @@ -576,11 +575,6 @@ cdef Jpair(p1, p2): - ``p1`` -- a pair (signature, series) - ``p2`` -- a pair (signature, series) - - TESTS:: - - - """ cdef TateAlgebraTerm s1, s2 cdef TateAlgebraElement v1, v2 diff --git a/src/sage/rings/universal_cyclotomic_field.py b/src/sage/rings/universal_cyclotomic_field.py index f7eaa5697ad..ee3e48a1bd5 100644 --- a/src/sage/rings/universal_cyclotomic_field.py +++ b/src/sage/rings/universal_cyclotomic_field.py @@ -160,7 +160,6 @@ - Vincent Delecroix (2015): completed rewriting using libgap (see :issue:`18152`) - Sebastian Oehms (2018): deleted the method is_finite since it returned the wrong result (see :issue:`25686`) - Sebastian Oehms (2019): added :meth:`_factor_univariate_polynomial` (see :issue:`28631`) - """ import sage.rings.abc diff --git a/src/sage/rings/valuation/augmented_valuation.py b/src/sage/rings/valuation/augmented_valuation.py index 3c98e082bc4..3d415c6e83c 100644 --- a/src/sage/rings/valuation/augmented_valuation.py +++ b/src/sage/rings/valuation/augmented_valuation.py @@ -141,7 +141,6 @@ Augmentations are described originally in [Mac1936I]_ and [Mac1936II]_. An overview can also be found in Chapter 4 of [Rüt2014]_. - """ # **************************************************************************** # Copyright (C) 2013-2017 Julian Rüth diff --git a/src/sage/rings/valuation/developing_valuation.py b/src/sage/rings/valuation/developing_valuation.py index 771201c444c..f99c2b5161c 100644 --- a/src/sage/rings/valuation/developing_valuation.py +++ b/src/sage/rings/valuation/developing_valuation.py @@ -38,7 +38,6 @@ sage: list(w.coefficients(f)) [x + 1, 1] - """ # **************************************************************************** # Copyright (C) 2013-2017 Julian Rüth diff --git a/src/sage/rings/valuation/gauss_valuation.py b/src/sage/rings/valuation/gauss_valuation.py index a748a6463f1..0443ba9c670 100644 --- a/src/sage/rings/valuation/gauss_valuation.py +++ b/src/sage/rings/valuation/gauss_valuation.py @@ -33,7 +33,6 @@ Gauss valuation induced by [ Gauss valuation induced by 2-adic valuation, v(x) = 1/4, v(x^4 + 2*x^3 + 2*x^2 + 2*x + 2) = 4/3 ] sage: w(2*T + 1) 0 - """ # **************************************************************************** # Copyright (C) 2013-2017 Julian Rüth diff --git a/src/sage/rings/valuation/inductive_valuation.py b/src/sage/rings/valuation/inductive_valuation.py index 4c438e52819..40f405e1b21 100644 --- a/src/sage/rings/valuation/inductive_valuation.py +++ b/src/sage/rings/valuation/inductive_valuation.py @@ -26,7 +26,6 @@ Inductive valuations are originally discussed in [Mac1936I]_ and [Mac1936II]_. An introduction is also given in Chapter 4 of [Rüt2014]_. - """ # **************************************************************************** # Copyright (C) 2016-2018 Julian Rüth diff --git a/src/sage/rings/valuation/limit_valuation.py b/src/sage/rings/valuation/limit_valuation.py index 7932ac6d75f..11b41cf9fed 100644 --- a/src/sage/rings/valuation/limit_valuation.py +++ b/src/sage/rings/valuation/limit_valuation.py @@ -71,7 +71,6 @@ Limits of inductive valuations are discussed in [Mac1936I]_ and [Mac1936II]_. An overview can also be found in Section 4.6 of [Rüt2014]_. - """ # **************************************************************************** # Copyright (C) 2016-2017 Julian Rüth diff --git a/src/sage/rings/valuation/mapped_valuation.py b/src/sage/rings/valuation/mapped_valuation.py index 5581c9bfa09..a4ccf3feec0 100644 --- a/src/sage/rings/valuation/mapped_valuation.py +++ b/src/sage/rings/valuation/mapped_valuation.py @@ -21,7 +21,6 @@ AUTHORS: - Julian Rüth (2016-11-10): initial version - """ # **************************************************************************** # Copyright (C) 2016-2017 Julian Rüth diff --git a/src/sage/rings/valuation/scaled_valuation.py b/src/sage/rings/valuation/scaled_valuation.py index ccbc4b97a02..d17edc246c7 100644 --- a/src/sage/rings/valuation/scaled_valuation.py +++ b/src/sage/rings/valuation/scaled_valuation.py @@ -9,7 +9,6 @@ AUTHORS: - Julian Rüth (2016-11-10): initial version - """ # **************************************************************************** # Copyright (C) 2016-2017 Julian Rüth diff --git a/src/sage/rings/valuation/valuation_space.py b/src/sage/rings/valuation/valuation_space.py index e1af286d102..3eb143a6d4b 100644 --- a/src/sage/rings/valuation/valuation_space.py +++ b/src/sage/rings/valuation/valuation_space.py @@ -42,7 +42,6 @@ sage: v = valuations.TrivialPseudoValuation(QQ) sage: v._test_category() - """ # **************************************************************************** # Copyright (C) 2016-2017 Julian Rüth diff --git a/src/sage/rings/valuation/value_group.py b/src/sage/rings/valuation/value_group.py index 1b9073255da..00cad43d0c2 100644 --- a/src/sage/rings/valuation/value_group.py +++ b/src/sage/rings/valuation/value_group.py @@ -14,7 +14,6 @@ Additive Abelian Group generated by 1 sage: v.value_semigroup() Additive Abelian Semigroup generated by 1 - """ # **************************************************************************** # Copyright (C) 2013-2018 Julian Rüth