Kaydet (Commit) 076b7325 authored tarafından Brett Cannon's avatar Brett Cannon

Add an import line to a code fragment.

Closes bug #1346395.
üst 8294de56
......@@ -921,7 +921,8 @@ before the \function{setup()} call.
\begin{verbatim}
# patch distutils if it can't cope with the "classifiers" or
# "download_url" keywords
if sys.version < '2.2.3':
from sys import version
if version < '2.2.3':
from distutils.dist import DistributionMetadata
DistributionMetadata.classifiers = None
DistributionMetadata.download_url = None
......
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