Version fix (bug #1708710)

This commit is contained in:
Georg Brandl 2007-04-27 19:20:00 +00:00
parent 1b59d10ce2
commit 58ef8cd29c
1 changed files with 4 additions and 4 deletions

View File

@ -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 Python26}, 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:\python26
\end{verbatim} \end{verbatim}
@ -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:\\Python26'
>>> 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:
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:/python26/lib/weakref.py", line 46, in __getitem__
o = self.data[key]() o = self.data[key]()
KeyError: 'primary' KeyError: 'primary'
\end{verbatim} \end{verbatim}