Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Trac #17218: Fix doctests after renaming modules
Browse files Browse the repository at this point in the history
  • Loading branch information
cheuberg committed Feb 19, 2015
1 parent 1b39b15 commit ceeb591
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/module_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -2223,8 +2223,8 @@ def uname_specific(name, value, alternative):
libraries = ['arb', 'mpfi', 'mpfr'],
include_dirs = [SAGE_INC + '/flint'],
depends = flint_depends),
Extension("sage.rings.complex_interval_acb",
["sage/rings/complex_interval_acb.pyx"],
Extension("sage.rings.complex_ball_acb",
["sage/rings/complex_ball_acb.pyx"],
language = "c",
libraries = ['arb', 'mpfi', 'mpfr'],
include_dirs = [SAGE_INC + '/flint'],
Expand Down
12 changes: 6 additions & 6 deletions src/sage/rings/complex_ball_acb.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ cdef class Acb(SageObject):
EXAMPLES::
sage: from sage.rings.complex_interval_acb import Acb # optional - arb
sage: from sage.rings.complex_ball_acb import Acb # optional - arb
sage: a = Acb(CIF(1, 1)) # optional - arb
sage: a.ComplexIntervalFieldElement() # optional - arb
1 + 1*I
Expand All @@ -105,9 +105,9 @@ cdef class Acb(SageObject):
EXAMPLES::
sage: from sage.rings.complex_interval_acb import Acb # optional - arb
sage: from sage.rings.complex_ball_acb import Acb # optional - arb
sage: Acb(precision=2) # optional - arb; indirect doctest
<type 'sage.rings.complex_interval_acb.Acb'>
<type 'sage.rings.complex_ball_acb.Acb'>
"""
acb_init(self.value)

Expand All @@ -125,7 +125,7 @@ cdef class Acb(SageObject):
EXAMPLES::
sage: from sage.rings.complex_interval_acb import Acb # optional - arb
sage: from sage.rings.complex_ball_acb import Acb # optional - arb
sage: a = Acb(precision=2) # optional - arb; indirect doctest
sage: del a # optional - arb
"""
Expand All @@ -149,7 +149,7 @@ cdef class Acb(SageObject):
EXAMPLES::
sage: from sage.rings.complex_interval_acb import Acb # optional - arb
sage: from sage.rings.complex_ball_acb import Acb # optional - arb
sage: a = Acb(CIF(0, 1)) # optional - arb
sage: b = Acb(1) # optional - arb
Traceback (most recent call last):
Expand Down Expand Up @@ -190,7 +190,7 @@ cdef class Acb(SageObject):
EXAMPLES::
sage: from sage.rings.complex_interval_acb import Acb # optional - arb
sage: from sage.rings.complex_ball_acb import Acb # optional - arb
sage: a = Acb(CIF(2, 2)) # optional - arb
sage: a.ComplexIntervalFieldElement() # optional - arb
2 + 2*I
Expand Down

0 comments on commit ceeb591

Please sign in to comment.