Skip to content

Commit 01075fc

Browse files
committed
fix docs about renamed attributes
1 parent 297a1ec commit 01075fc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/doc/en/thematic_tutorials/coercion_and_categories.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ This base class provides a lot more methods than a general parent::
106106

107107
sage: [p for p in dir(Field) if p not in dir(Parent)]
108108
['__fraction_field',
109-
'__ideal_monoid',
110109
'__iter__',
111110
'__len__',
112111
'__rxor__',
@@ -119,6 +118,7 @@ This base class provides a lot more methods than a general parent::
119118
'_default_category',
120119
'_gens',
121120
'_ideal_class_',
121+
'_ideal_monoid',
122122
'_latex_names',
123123
'_list',
124124
'_one_element',

src/doc/en/thematic_tutorials/tutorial-objects-and-classes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ http://docs.python.org/library/ for a complete list. ::
298298
sage: el
299299
bla
300300
sage: el.__dict__
301-
{'__custom_name': 'bla', 'value': 42}
301+
{'_custom_name': 'bla', 'value': 42}
302302

303303
Lots of Sage objects are not Python objects but compiled Cython
304304
objects. Python sees them as builtin objects and you do not have

0 commit comments

Comments
 (0)