summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRelease Manager <release@sagemath.org>2018-07-12 23:51:44 +0200
committerVolker Braun <vbraun.name@gmail.com>2018-07-12 23:51:44 +0200
commit7a671da712536928ca45cc564fc7560c6fe51439 (patch)
treec5fc69394da74b6a02d031c6a16254633372c049
parentTrac #25620: Test failure in sage.rings.complex_arb on Cygwin (diff)
parentusing python3 compatible imports !! (diff)
Trac #25720: py3: correct recent bad import for Queue
from #25438 URL: https://trac.sagemath.org/25720 Reported by: chapoton Ticket author(s): Frédéric Chapoton Reviewer(s): Travis Scrimshaw
-rw-r--r--src/sage/manifolds/differentiable/pseudo_riemannian_submanifold.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sage/manifolds/differentiable/pseudo_riemannian_submanifold.py b/src/sage/manifolds/differentiable/pseudo_riemannian_submanifold.py
index e981c8a..0f302a7 100644
--- a/src/sage/manifolds/differentiable/pseudo_riemannian_submanifold.py
+++ b/src/sage/manifolds/differentiable/pseudo_riemannian_submanifold.py
@@ -178,7 +178,8 @@ from sage.functions.other import factorial
from sage.symbolic.ring import SR
from sage.misc.cachefunc import cached_method
from sage.rings.integer import Integer
-from Queue import Queue
+from queue import Queue
+
class PseudoRiemannianSubmanifold(PseudoRiemannianManifold,
DifferentiableSubmanifold):
@@ -1583,7 +1584,7 @@ class PseudoRiemannianSubmanifold(PseudoRiemannianManifold,
return self._shape_operator
def clear_cache(self):
- """
+ r"""
Reset all the cached functions and the derived quantities.
Use this function if you modified the immersion (or embedding) of the
@@ -1614,7 +1615,6 @@ class PseudoRiemannianSubmanifold(PseudoRiemannianManifold,
sage: N.clear_cache()
sage: n is N.normal()
False
-
"""
self.difft.clear_cache()
self.gradt.clear_cache()