@@ -534,7 +534,7 @@ This example, as usual, demonstrates some new Python features:
534
534
Different types define different methods. Methods of different types may have
535
535
the same name without causing ambiguity. (It is possible to define your own
536
536
object types and methods, using *classes *, see:ref: `tut-classes `)
537
- The method:meth: `~list. append ` shown in the example is defined for list objects; it
537
+ The method:meth: `! append ` shown in the example is defined for list objects; it
538
538
adds a new element at the end of the list. In this example it is equivalent to
539
539
``result = result + [a] ``, but more efficient.
540
540
@@ -1046,7 +1046,7 @@ Function Annotations
1046
1046
information about the types used by user-defined functions (see:pep: `3107 ` and
1047
1047
:pep: `484 ` for more information).
1048
1048
1049
- :term: `Annotations <function annotation> ` are stored in the:attr: `__annotations__ `
1049
+ :term: `Annotations <function annotation> ` are stored in the:attr: `! __annotations__ `
1050
1050
attribute of the function as a dictionary and have no effect on any other part of the
1051
1051
function. Parameter annotations are defined by a colon after the parameter name, followed
1052
1052
by an expression evaluating to the value of the annotation. Return annotations are