diff -r 43a498da8680 Lib/pydoc.py --- a/Lib/pydoc.py Wed May 25 22:52:37 2011 +0200 +++ b/Lib/pydoc.py Wed May 25 16:36:53 2011 -0700 @@ -478,9 +478,9 @@ def multicolumn(self, list, format, cols=4): """Format a list of items into a multi-column list.""" result = '' - rows = (len(list)+cols-1)/cols + rows = (len(list)+cols-1)//cols for col in range(cols): - result = result + '