Kaydet (Commit) e5441913 authored tarafından Fred Drake's avatar Fred Drake

Add \modulesynopsis for inclusion in the list of modules at the beginning

of the chapter.

Add explanation that this is only available when the cycle detector is
enabled at build time.
üst 1c4efad7
...@@ -2,9 +2,15 @@ ...@@ -2,9 +2,15 @@
Garbage Collector interface} Garbage Collector interface}
\declaremodule{extension}{gc} \declaremodule{extension}{gc}
\modulesynopsis{Interface to the cycle-detecting garbage collector.}
\moduleauthor{Neil Schemenauer}{nascheme@enme.ucalgary.ca} \moduleauthor{Neil Schemenauer}{nascheme@enme.ucalgary.ca}
\sectionauthor{Neil Schemenauer}{nascheme@enme.ucalgary.ca} \sectionauthor{Neil Schemenauer}{nascheme@enme.ucalgary.ca}
The \module{gc} module is only available if the interpreter was built
with the optional cyclic garbage detector (enabled by default). If
this was not enabled, an \exception{ImportError} is raised by attempts
to import this module.
This module provides an interface to the optional garbage collector. It This module provides an interface to the optional garbage collector. It
provides the ability to disable the collector, tune the collection provides the ability to disable the collector, tune the collection
frequency, and set debugging options. It also provides access to frequency, and set debugging options. It also provides access to
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment