2
0
Эх сурвалжийг харах

Merge pull request #267 from Dwachs/master

FIX link in documentation of class attributes
Alberto Demichelis 2 жил өмнө
parent
commit
43370e97db

+ 1 - 1
doc/source/reference/language/classes.rst

@@ -170,7 +170,7 @@ instead of curly brackets ``{}`` for the attribute declaration to increase reada
 
 
 This means that all rules that apply to tables apply to attributes.
 This means that all rules that apply to tables apply to attributes.
 
 
-Attributes can be retrieved through the built-in function ``classobj.getattributes(membername)`` (see <link linkend="builtin">built-in functions</link>).
+Attributes can be retrieved through the built-in function ``classobj.getattributes(membername)`` (see :ref:`built-in functions <builtin_functions>`).
 and can be modified/added through the built-in function ``classobj.setattributes(membername,val)``.
 and can be modified/added through the built-in function ``classobj.setattributes(membername,val)``.
 
 
 the following code iterates through the attributes of all Foo members.::
 the following code iterates through the attributes of all Foo members.::