[docs] Typo in

Sebastian Zug zug at ivs.cs.uni-magdeburg.de
Sat Oct 30 20:29:21 CEST 2010

Dear Python documentation team,

on page


in chapter  " The Process class" there is a obvious typo inside 
the second code example in line 7

from  multiprocessing  import  Process
import  os

def  info(title):
     print  title
     print  'module name:',  __name__
     print  'parent process:',  os.getppid() <-- it means os.getpid()
     print  'process id:',  os.getpid()

def  f(name):
     info('function f')
     print  'hello',  name

if  __name__  ==  '__main__':
     info('main line')
     p  =  Process(target=f,  args=('bob',))

Best wishes from Germany

Enjoy the weekend



Dipl. Ing. Sebastian Zug
Dept. Embedded Systems and Operating Systems (EOS)
Institute for Distributed Systems (IVS)
Otto-von-Guericke-University of Magdeburg
Universitätsplatz 2
39106 Magdeburg

mail: zug at ivs.cs.uni-magdeburg.de
Tel.: +49 - 391 - 67 - 11459
Fax:  +49 - 391 - 67 - 11161

More information about the docs mailing list