Commit 316a6b5d authored by Georg Brandl's avatar Georg Brandl

Version fix (bug #1708710)

parent db87573a
...@@ -184,12 +184,12 @@ your local Python guru or system administrator. (E.g., ...@@ -184,12 +184,12 @@ your local Python guru or system administrator. (E.g.,
\file{/usr/local/python} is a popular alternative location.) \file{/usr/local/python} is a popular alternative location.)
On Windows machines, the Python installation is usually placed in On Windows machines, the Python installation is usually placed in
\file{C:\e Python24}, though you can change this when you're running \file{C:\e Python25}, though you can change this when you're running
the installer. To add this directory to your path, the installer. To add this directory to your path,
you can type the following command into the command prompt in a DOS box: you can type the following command into the command prompt in a DOS box:
\begin{verbatim} \begin{verbatim}
set path=%path%;C:\python24 set path=%path%;C:\python25
\end{verbatim} \end{verbatim}
...@@ -4654,7 +4654,7 @@ operating system: ...@@ -4654,7 +4654,7 @@ operating system:
>>> os.system('time 0:02') >>> os.system('time 0:02')
0 0
>>> os.getcwd() # Return the current working directory >>> os.getcwd() # Return the current working directory
'C:\\Python24' 'C:\\Python25'
>>> os.chdir('/server/accesslogs') >>> os.chdir('/server/accesslogs')
\end{verbatim} \end{verbatim}
...@@ -5254,7 +5254,7 @@ applications include caching objects that are expensive to create: ...@@ -5254,7 +5254,7 @@ applications include caching objects that are expensive to create:
Traceback (most recent call last): Traceback (most recent call last):
File "<pyshell#108>", line 1, in -toplevel- File "<pyshell#108>", line 1, in -toplevel-
d['primary'] # entry was automatically removed d['primary'] # entry was automatically removed
File "C:/PY24/lib/weakref.py", line 46, in __getitem__ File "C:/python25/lib/weakref.py", line 46, in __getitem__
o = self.data[key]() o = self.data[key]()
KeyError: 'primary' KeyError: 'primary'
\end{verbatim} \end{verbatim}
......
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