Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c07bda0

Browse files
committed
Correct warnings when building the docs for the nonexistet :arg: role. Changed to asterisks.
1 parent bd43974 commit c07bda0

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

Doc/library/gc.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -187,23 +187,23 @@ values but should not rebind them):
187187

188188
A list of callbacks that will be invoked by the garbage collector before and
189189
after collection. The callbacks will be called with two arguments,
190-
:arg:`phase` and :arg:`info`.
190+
*phase* and *info*.
191191

192-
:arg:`phase` can one of two values:
192+
*phase* can one of two values:
193193

194194
"start": The garbage collection is about to start.
195195

196196
"stop": The garbage collection has finished.
197197

198-
:arg:`info` provides more information for the callback. The following
198+
*info* provides more information for the callback. The following
199199
keys are currently defined:
200200

201201
"generation": The oldest generation being collected.
202202

203-
"collected": When :arg:`phase` is "stop", the number of objects
203+
"collected": When *phase* is "stop", the number of objects
204204
successfully collected.
205205

206-
"uncollectable": when :arg:`phase` is "stop", the number of objects
206+
"uncollectable": when *phase* is "stop", the number of objects
207207
that could not be collected and were put in :data:`garbage`.
208208

209209
Applications can add their own callbacks to this list. The primary

0 commit comments

Comments
 (0)