Skip to content

Commit

Permalink
grep -l 'coding: *utf-8' src/sage | xargs sed -i.bak '/^#.*coding: *u…
Browse files Browse the repository at this point in the history
…tf-8/d'
  • Loading branch information
mkoeppe committed Dec 26, 2023
1 parent 26b2844 commit af51d59
Show file tree
Hide file tree
Showing 208 changed files with 0 additions and 208 deletions.
1 change: 0 additions & 1 deletion src/sage/arith/misc.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# sage_setup: distribution = sagemath-categories
# -*- coding: utf-8 -*-
r"""
Miscellaneous arithmetic functions
Expand Down
1 change: 0 additions & 1 deletion src/sage/combinat/debruijn_sequence.pyx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# sage_setup: distribution = sagemath-combinat
# -*- coding: utf-8 -*-
r"""
De Bruijn sequences
Expand Down
1 change: 0 additions & 1 deletion src/sage/combinat/fast_vector_partitions.pyx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# sage_setup: distribution = sagemath-combinat
# -*- coding: utf-8 -*-
r"""
Brent Yorgey's fast algorithm for integer vector (multiset) partitions.
Expand Down
1 change: 0 additions & 1 deletion src/sage/combinat/matrices/dancing_links.pyx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# sage_setup: distribution = sagemath-categories
# -*- coding: utf-8 -*-
# distutils: language = c++
"""
Dancing Links internal pyx code
Expand Down
1 change: 0 additions & 1 deletion src/sage/cpython/atexit.pyx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# sage_setup: distribution = sagemath-objects
# -*- encoding: utf-8 -*-

"""Utilities for interfacing with the standard library's atexit module."""

Expand Down
1 change: 0 additions & 1 deletion src/sage/cpython/string.pyx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# sage_setup: distribution = sagemath-objects
# -*- encoding: utf-8 -*-
"""
String <-> bytes encoding/decoding
Expand Down
1 change: 0 additions & 1 deletion src/sage/crypto/boolean_function.pyx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# sage_setup: distribution = sagemath-modules
# -*- coding: utf-8 -*-
"""
Boolean functions
Expand Down
1 change: 0 additions & 1 deletion src/sage/data_structures/blas_dict.pyx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# sage_setup: distribution = sagemath-categories
# -*- coding: utf-8 -*-
r"""
Basic Linear Algebra Subroutines on dictionaries
Expand Down
1 change: 0 additions & 1 deletion src/sage/databases/conway.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
r"""
Frank Lübeck's tables of Conway polynomials over finite fields
"""
Expand Down
1 change: 0 additions & 1 deletion src/sage/databases/cubic_hecke_db.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
r"""
Cubic Hecke database
Expand Down
1 change: 0 additions & 1 deletion src/sage/databases/findstat.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
r"""
FindStat - the search engine for combinatorial statistics and maps
Expand Down
1 change: 0 additions & 1 deletion src/sage/databases/knotinfo_db.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# sage_setup: distribution = sagemath-graphs
# -*- coding: utf-8 -*-
r"""
KnotInfo database
Expand Down
1 change: 0 additions & 1 deletion src/sage/databases/oeis.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
r"""
The On-Line Encyclopedia of Integer Sequences (OEIS)
Expand Down
1 change: 0 additions & 1 deletion src/sage/databases/sql_db.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
r"""
Relational (sqlite) Databases Module
Expand Down
1 change: 0 additions & 1 deletion src/sage/doctest/parsing.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# sage_setup: distribution = sagemath-repl
# -*- encoding: utf-8 -*-
"""
Parsing docstrings
Expand Down
1 change: 0 additions & 1 deletion src/sage/doctest/reporting.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# sage_setup: distribution = sagemath-repl
# -*- coding: utf-8 -*-
r"""
Reporting doctest results
Expand Down
1 change: 0 additions & 1 deletion src/sage/dynamics/arithmetic_dynamics/projective_ds.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# sage_setup: distribution = sagemath-schemes
# -*- coding: utf-8 -*-
r"""
Dynamical systems on projective schemes
Expand Down
1 change: 0 additions & 1 deletion src/sage/dynamics/cellular_automata/elementary.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
"""
Elementary Cellular Automata
Expand Down
1 change: 0 additions & 1 deletion src/sage/dynamics/cellular_automata/glca.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
"""
Graftal Lace Cellular Automata
Expand Down
1 change: 0 additions & 1 deletion src/sage/features/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# sage_setup: distribution = sagemath-environment
# -*- coding: utf-8 -*-
r"""
Testing for features of the environment at runtime
Expand Down
1 change: 0 additions & 1 deletion src/sage/features/csdp.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# sage_setup: distribution = sagemath-environment
# -*- coding: utf-8 -*-
r"""
Feature for testing the presence of ``csdp``
"""
Expand Down
1 change: 0 additions & 1 deletion src/sage/features/lrs.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# sage_setup: distribution = sagemath-environment
# -*- coding: utf-8 -*-
r"""
Feature for testing the presence of ``lrslib``
"""
Expand Down
1 change: 0 additions & 1 deletion src/sage/features/msolve.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# sage_setup: distribution = sagemath-environment
# -*- coding: utf-8 -*-
r"""
Feature for testing the presence of msolve
Expand Down
1 change: 0 additions & 1 deletion src/sage/features/pandoc.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# sage_setup: distribution = sagemath-environment
# -*- coding: utf-8 -*-
r"""
Feature for testing the presence of ``pandoc``
"""
Expand Down
1 change: 0 additions & 1 deletion src/sage/game_theory/normal_form_game.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# sage_setup: distribution = sagemath-polyhedra
# -*- coding: utf-8 -*-
r"""
Normal form games with N players.
Expand Down
1 change: 0 additions & 1 deletion src/sage/games/quantumino.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# sage_setup: distribution = sagemath-combinat
# -*- coding: utf-8 -*-
r"""
Family Games America's Quantumino solver
Expand Down
1 change: 0 additions & 1 deletion src/sage/graphs/base/graph_backends.pyx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# sage_setup: distribution = sagemath-graphs
# -*- coding: utf-8 -*-
r"""
Backends for Sage (di)graphs
Expand Down
1 change: 0 additions & 1 deletion src/sage/graphs/generic_graph_pyx.pyx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# sage_setup: distribution = sagemath-graphs
# -*- coding: utf-8 -*-
"""
GenericGraph Cython functions

Expand Down
1 change: 0 additions & 1 deletion src/sage/graphs/graph_decompositions/clique_separators.pyx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# sage_setup: distribution = sagemath-graphs
# -*- coding: utf-8 -*-
# cython: binding=True
# distutils: language = c++
r"""
Expand Down
1 change: 0 additions & 1 deletion src/sage/graphs/path_enumeration.pyx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# sage_setup: distribution = sagemath-graphs
# -*- coding: utf-8 -*-
# cython: binding=True
# distutils: language = c++
r"""
Expand Down
1 change: 0 additions & 1 deletion src/sage/graphs/strongly_regular_db.pyx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# sage_setup: distribution = sagemath-graphs
# -*- coding: utf-8 -*-
r"""
Database of strongly regular graphs

Expand Down
1 change: 0 additions & 1 deletion src/sage/graphs/traversals.pyx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# sage_setup: distribution = sagemath-graphs
# -*- coding: utf-8 -*-
# cython: binding=True
# distutils: language = c++
r"""
Expand Down
1 change: 0 additions & 1 deletion src/sage/homology/chain_complex.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# sage_setup: distribution = sagemath-modules
# -*- coding: utf-8 -*-
r"""
Chain complexes

Expand Down
1 change: 0 additions & 1 deletion src/sage/homology/chain_homotopy.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# sage_setup: distribution = sagemath-modules
# -*- coding: utf-8 -*-
r"""
Chain homotopies and chain contractions

Expand Down
1 change: 0 additions & 1 deletion src/sage/interfaces/frobby.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
r"""
Interface to Frobby for fast computations on monomial ideals.

Expand Down
1 change: 0 additions & 1 deletion src/sage/interfaces/gap.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# sage_setup: distribution = sagemath-gap
# -*- coding: utf-8 -*-
r"""
Interface to GAP

Expand Down
1 change: 0 additions & 1 deletion src/sage/interfaces/genus2reduction.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
r"""
Conductor and reduction types for genus 2 curves

Expand Down
1 change: 0 additions & 1 deletion src/sage/interfaces/maxima_abstract.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# sage_setup: distribution = sagemath-symbolics
# -*- coding: utf-8 -*-
r"""
Abstract interface to Maxima

Expand Down
1 change: 0 additions & 1 deletion src/sage/interfaces/r.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
r"""
Interfaces to R

Expand Down
1 change: 0 additions & 1 deletion src/sage/knots/gauss_code.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# sage_setup: distribution = sagemath-graphs
# -*- coding: utf-8 -*-
"""
Helper functions related to Gauss codes of knots

Expand Down
1 change: 0 additions & 1 deletion src/sage/knots/knot.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# sage_setup: distribution = sagemath-graphs
# -*- coding: utf-8 -*-
r"""
Knots

Expand Down
1 change: 0 additions & 1 deletion src/sage/knots/knotinfo.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# sage_setup: distribution = sagemath-graphs
# -*- coding: utf-8 -*-
r"""
Access to the KnotInfo database

Expand Down
1 change: 0 additions & 1 deletion src/sage/lfunctions/pari.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""
`L`-functions from PARI

Expand Down
1 change: 0 additions & 1 deletion src/sage/libs/arb/arb_version.pyx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# sage_setup: distribution = sagemath-flint
# -*- coding: utf-8
from sage.libs.arb.arb cimport arb_version
from sage.cpython.string cimport char_to_str

Expand Down
1 change: 0 additions & 1 deletion src/sage/libs/giac/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# sage_setup: distribution = sagemath-giac
# -*- coding: utf-8 -*-
"""
Wrappers for Giac functions

Expand Down
1 change: 0 additions & 1 deletion src/sage/libs/linkages/padics/Polynomial_ram.pxi
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# sage_setup: distribution = sagemath-pari
# -*- coding: utf-8 -*-
r"""
This linkage file implements the padics API for ramified extensions using Sage
Polynomials.
Expand Down
1 change: 0 additions & 1 deletion src/sage/manifolds/differentiable/integrated_curve.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# sage_setup: distribution = sagemath-symbolics
# -*- coding: utf-8 -*-
r"""
Integrated Curves and Geodesics in Manifolds

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# sage_setup: distribution = sagemath-symbolics
# -*- coding: utf-8 -*-
r"""
Levi-Civita Connections

Expand Down
1 change: 0 additions & 1 deletion src/sage/manifolds/differentiable/manifold.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# sage_setup: distribution = sagemath-symbolics
# -*- coding: utf-8 -*-
r"""
Differentiable Manifolds

Expand Down
1 change: 0 additions & 1 deletion src/sage/manifolds/section_module.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# sage_setup: distribution = sagemath-symbolics
# -*- coding: utf-8 -*-
r"""
Section Modules

Expand Down
1 change: 0 additions & 1 deletion src/sage/manifolds/subset.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# sage_setup: distribution = sagemath-symbolics
# -*- coding: utf-8 -*-
r"""
Subsets of Topological Manifolds

Expand Down
1 change: 0 additions & 1 deletion src/sage/manifolds/vector_bundle.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# sage_setup: distribution = sagemath-symbolics
# -*- coding: utf-8 -*-
r"""
Topological Vector Bundle

Expand Down
1 change: 0 additions & 1 deletion src/sage/matrix/matrix0.pyx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# sage_setup: distribution = sagemath-modules
# -*- coding: utf-8 -*-
"""
Base class for matrices, part 0

Expand Down
1 change: 0 additions & 1 deletion src/sage/matrix/matrix_gf2e_dense.pyx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# sage_setup: distribution = sagemath-linbox
# -*- coding: utf-8 -*-
# distutils: libraries = m4rie M4RI_LIBRARIES m
# distutils: library_dirs = M4RI_LIBDIR
# distutils: include_dirs = M4RI_INCDIR
Expand Down
1 change: 0 additions & 1 deletion src/sage/matrix/matrix_integer_dense.pyx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# sage_setup: distribution = sagemath-linbox
# -*- coding: utf-8 -*-
# distutils: extra_compile_args = NTL_CFLAGS M4RI_CFLAGS
# distutils: libraries = iml NTL_LIBRARIES gmp m CBLAS_LIBRARIES
# distutils: library_dirs = NTL_LIBDIR CBLAS_LIBDIR
Expand Down
1 change: 0 additions & 1 deletion src/sage/matrix/matrix_integer_sparse.pyx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# sage_setup: distribution = sagemath-linbox
# -*- coding: utf-8 -*-
r"""
Sparse integer matrices

Expand Down
1 change: 0 additions & 1 deletion src/sage/matrix/matrix_mod2_dense.pyx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# sage_setup: distribution = sagemath-linbox
# -*- coding: utf-8 -*-
# distutils: libraries = M4RI_LIBRARIES GDLIB_LIBRARIES LIBPNG_LIBRARIES ZLIB_LIBRARIES
# distutils: library_dirs = M4RI_LIBDIR GDLIB_LIBDIR LIBPNG_LIBDIR ZLIB_LIBDIR
# distutils: include_dirs = M4RI_INCDIR GDLIB_INCDIR LIBPNG_INCDIR ZLIB_INCDIR
Expand Down
1 change: 0 additions & 1 deletion src/sage/matrix/special.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# sage_setup: distribution = sagemath-modules
# -*- coding: utf-8 -*-
"""
Constructors for special matrices

Expand Down
1 change: 0 additions & 1 deletion src/sage/matroids/matroid.pyx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# sage_setup: distribution = sagemath-modules
# -*- coding: utf-8 -*-
r"""
The abstract Matroid class

Expand Down
1 change: 0 additions & 1 deletion src/sage/misc/callable_dict.pyx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# sage_setup: distribution = sagemath-categories
# -*- coding: utf-8 -*-
"""
Callable dictionaries
"""
Expand Down
1 change: 0 additions & 1 deletion src/sage/misc/lazy_string.pyx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# sage_setup: distribution = sagemath-objects
# -*- coding: utf-8 -*-
"""
Lazy strings

Expand Down
1 change: 0 additions & 1 deletion src/sage/misc/parser.pyx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# sage_setup: distribution = sagemath-categories
# -*- coding: utf-8 -*-
"""
A parser for symbolic equations and expressions

Expand Down
1 change: 0 additions & 1 deletion src/sage/modular/pollack_stevens/dist.pyx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# distutils: libraries = gmp
# distutils: extra_compile_args = -D_XPG6
"""
Expand Down
1 change: 0 additions & 1 deletion src/sage/modules/with_basis/indexed_element.pyx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# sage_setup: distribution = sagemath-modules
# -*- coding: utf-8 -*-
r"""
An element in an indexed free module

Expand Down
1 change: 0 additions & 1 deletion src/sage/monoids/automatic_semigroup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# sage_setup: distribution = sagemath-combinat
# -*- coding: utf-8 -*-
"""
Automatic Semigroups

Expand Down
1 change: 0 additions & 1 deletion src/sage/monoids/hecke_monoid.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# sage_setup: distribution = sagemath-combinat
# -*- coding: utf-8 -*-
"""
Hecke Monoids
"""
Expand Down
1 change: 0 additions & 1 deletion src/sage/parallel/map_reduce.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# sage_setup: distribution = sagemath-categories
# -*- coding: utf-8 -*-
r"""
Parallel computations using RecursivelyEnumeratedSet and Map-Reduce

Expand Down
1 change: 0 additions & 1 deletion src/sage/plot/graphics.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# sage_setup: distribution = sagemath-plot
# -*- encoding: utf-8 -*-
r"""
Graphics objects

Expand Down
Loading

0 comments on commit af51d59

Please sign in to comment.