8000 [3.12] Erase some unnecessary quotes on data model doc (GH-113521) (#… · python/cpython@59ec6e8 · GitHub
[go: up one dir, main page]

Skip to content

Commit 59ec6e8

Browse files
[3.12] Erase some unnecessary quotes on data model doc (GH-113521) (#115896)
Thanks to Pedro Arthur Duarte (pedroarthur.jedi at gmail.com) for help with this bug. (cherry picked from commit f745586) Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
1 parent b4dd314 commit 59ec6e8

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

Doc/library/array.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,4 +273,3 @@ Examples::
273273

274274
`NumPy <https://numpy.org/>`_
275275
The NumPy package defines another array type.
276-

Doc/reference/datamodel.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ represented by objects.)
3434
3535
Every object has an identity, a type and a value. An object's *identity* never
3636
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
3838
:func:`id` function returns an integer representing its identity.
3939

4040
.. impl-detail::
@@ -81,16 +81,16 @@ are still reachable.
8181

8282
Note that the use of the implementation's tracing or debugging facilities may
8383
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
8585
objects alive.
8686

8787
Some objects contain references to "external" resources such as open files or
8888
windows. It is understood that these resources are freed when the object is
8989
garbage-collected, but since garbage collection is not guaranteed to happen,
9090
such objects also provide an explicit way to release the external resource,
9191
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.
9494

9595
.. index:: single: container
9696

0 commit comments

Comments
 (0)
0