diff --git a/src/sage/groups/abelian_gps/abelian_group_morphism.py b/src/sage/groups/abelian_gps/abelian_group_morphism.py index dfdd2d83ea6..eb41400065a 100644 --- a/src/sage/groups/abelian_gps/abelian_group_morphism.py +++ b/src/sage/groups/abelian_gps/abelian_group_morphism.py @@ -26,7 +26,9 @@ def is_AbelianGroupMorphism(f): from sage.misc.superseded import deprecation - deprecation(38103, "The function is_AbelianGroupMorphism is deprecated; use 'isinstance(..., AbelianGroupMorphism)' instead.") + deprecation(38103, + "The function is_AbelianGroupMorphism is deprecated; " + "use 'isinstance(..., AbelianGroupMorphism)' instead.") return isinstance(f, AbelianGroupMorphism) diff --git a/src/sage/groups/perm_gps/permgroup_morphism.py b/src/sage/groups/perm_gps/permgroup_morphism.py index 9217c706524..c0596d94b85 100644 --- a/src/sage/groups/perm_gps/permgroup_morphism.py +++ b/src/sage/groups/perm_gps/permgroup_morphism.py @@ -322,10 +322,13 @@ def is_PermutationGroupMorphism(f) -> bool: sage: phi = PermutationGroupMorphism_im_gens(G, H, map(H, G.gens())) sage: is_PermutationGroupMorphism(phi) doctest:warning... - DeprecationWarning: The function is_PermutationGroupMorphism is deprecated; use 'isinstance(..., PermutationGroupMorphism)' instead. + DeprecationWarning: The function is_PermutationGroupMorphism is deprecated; + use 'isinstance(..., PermutationGroupMorphism)' instead. See https://github.com/sagemath/sage/issues/38103 for details. True """ from sage.misc.superseded import deprecation - deprecation(38103, "The function is_PermutationGroupMorphism is deprecated; use 'isinstance(..., PermutationGroupMorphism)' instead.") + deprecation(38103, + "The function is_PermutationGroupMorphism is deprecated; " + "use 'isinstance(..., PermutationGroupMorphism)' instead.") return isinstance(f, PermutationGroupMorphism) diff --git a/src/sage/homology/chain_complex_morphism.py b/src/sage/homology/chain_complex_morphism.py index f61db322d23..af68bf0c906 100644 --- a/src/sage/homology/chain_complex_morphism.py +++ b/src/sage/homology/chain_complex_morphism.py @@ -79,12 +79,15 @@ def is_ChainComplexMorphism(x): To: Chain complex with at most 7 nonzero terms over Integer Ring sage: is_ChainComplexMorphism(x) doctest:warning... - DeprecationWarning: The function is_ChainComplexMorphism is deprecated; use 'isinstance(..., ChainComplexMorphism)' instead. + DeprecationWarning: The function is_ChainComplexMorphism is deprecated; + use 'isinstance(..., ChainComplexMorphism)' instead. See https://github.com/sagemath/sage/issues/38103 for details. True """ from sage.misc.superseded import deprecation - deprecation(38103, "The function is_ChainComplexMorphism is deprecated; use 'isinstance(..., ChainComplexMorphism)' instead.") + deprecation(38103, + "The function is_ChainComplexMorphism is deprecated; " + "use 'isinstance(..., ChainComplexMorphism)' instead.") return isinstance(x, ChainComplexMorphism) diff --git a/src/sage/topology/simplicial_complex_morphism.py b/src/sage/topology/simplicial_complex_morphism.py index 1b2b8ef3a93..e1f87f3ddd2 100644 --- a/src/sage/topology/simplicial_complex_morphism.py +++ b/src/sage/topology/simplicial_complex_morphism.py @@ -127,13 +127,16 @@ def is_SimplicialComplexMorphism(x): sage: x = H(f) sage: is_SimplicialComplexMorphism(x) doctest:warning... - DeprecationWarning: The function is_SimplicialComplexMorphism is deprecated; use 'isinstance(..., SimplicialComplexMorphism)' instead. + DeprecationWarning: The function is_SimplicialComplexMorphism is deprecated; + use 'isinstance(..., SimplicialComplexMorphism)' instead. See https://github.com/sagemath/sage/issues/38103 for details. True """ from sage.misc.superseded import deprecation - deprecation(38103, "The function is_SimplicialComplexMorphism is deprecated; use 'isinstance(..., SimplicialComplexMorphism)' instead.") + deprecation(38103, + "The function is_SimplicialComplexMorphism is deprecated; " + "use 'isinstance(..., SimplicialComplexMorphism)' instead.") return isinstance(x, SimplicialComplexMorphism)