NON-WORKING python with an older version of the MinGW patch.
[fedora-mingw.git] / python / python-2.3.4-pydocnodoc.patch
diff --git a/python/python-2.3.4-pydocnodoc.patch b/python/python-2.3.4-pydocnodoc.patch
new file mode 100644 (file)
index 0000000..f2c1af3
--- /dev/null
@@ -0,0 +1,10 @@
+--- Python-2.3.4/Lib/pydoc.py.no-doc   2004-07-16 11:29:01.000000000 -0400
++++ Python-2.3.4/Lib/pydoc.py  2004-07-16 11:32:52.000000000 -0400
+@@ -1524,6 +1524,7 @@
+         homedir = os.environ.get('PYTHONHOME')
+         for dir in [os.environ.get('PYTHONDOCS'),
+                     homedir and os.path.join(homedir, 'doc'),
++                    '/usr/share/doc/python-docs-%s/html' % split(sys.version)[0],
+                     os.path.join(execdir, 'doc'),
+                     '/usr/doc/python-docs-' + split(sys.version)[0],
+                     '/usr/doc/python-' + split(sys.version)[0],