@@ -34,7 +34,7 @@ represented by objects.)
34
34
35
35
Every object has an identity, a type and a value. An object's *identity * never
36
36
changes once it has been created; you may think of it as the object's address in
37
- memory. The ' :keyword: `is `' operator compares the identity of two objects; the
37
+ memory. The :keyword: `is ` operator compares the identity of two objects; the
38
38
:func: `id ` function returns an integer representing its identity.
39
39
40
40
.. impl-detail ::
@@ -81,16 +81,16 @@ are still reachable.
81
81
82
82
Note that the use of the implementation's tracing or debugging facilities may
83
83
keep objects alive that would normally be collectable. Also note that catching
84
- an exception with a ' :keyword: `try `...\ :keyword: `except `' statement may keep
84
+ an exception with a :keyword: `try `...\ :keyword: `except ` statement may keep
85
85
objects alive.
86
86
87
87
Some objects contain references to "external" resources such as open files or
88
88
windows. It is understood that these resources are freed when the object is
89
89
garbage-collected, but since garbage collection is not guaranteed to happen,
90
90
such objects also provide an explicit way to release the external resource,
91
91
usually a :meth: `!close ` method. Programs are strongly recommended to explicitly
92
- close such objects. The ' :keyword: `try `...\ :keyword: `finally `' statement
93
- and the ' :keyword: `with `' statement provide convenient ways to do this.
92
+ close such objects. The :keyword: `try `...\ :keyword: `finally ` statement
93
+ and the :keyword: `with ` statement provide convenient ways to do this.
94
94
95
95
.. index :: single: container
96
96
0 commit comments