From f9672e18c1b94495d221ff455d69ee43305c9271 Mon Sep 17 00:00:00 2001 From: Julien Palard Date: Wed, 22 May 2019 13:15:33 +0200 Subject: [PATCH 1/3] Docs: FIX broken links. --- Doc/faq/gui.rst | 2 +- Doc/library/readline.rst | 2 +- Doc/library/tkinter.rst | 2 +- Doc/using/mac.rst | 2 +- Doc/using/windows.rst | 6 ++++-- Doc/whatsnew/2.6.rst | 2 +- Doc/whatsnew/3.2.rst | 16 +++++++++------- 7 files changed, 18 insertions(+), 14 deletions(-) diff --git a/Doc/faq/gui.rst b/Doc/faq/gui.rst index 4f9979bf55ed3a..781da467d18013 100644 --- a/Doc/faq/gui.rst +++ b/Doc/faq/gui.rst @@ -104,7 +104,7 @@ What platform-specific GUI toolkits exist for Python? ======================================================== By installing the `PyObjc Objective-C bridge -`_, Python programs can use Mac OS X's +`_, Python programs can use Mac OS X's Cocoa libraries. :ref:`Pythonwin ` by Mark Hammond includes an interface to the diff --git a/Doc/library/readline.rst b/Doc/library/readline.rst index 16c28cf7d02fb9..eae0a6df45f30e 100644 --- a/Doc/library/readline.rst +++ b/Doc/library/readline.rst @@ -19,7 +19,7 @@ function. Readline keybindings may be configured via an initialization file, typically ``.inputrc`` in your home directory. See `Readline Init File -`_ +`_ in the GNU Readline manual for information about the format and allowable constructs of that file, and the capabilities of the Readline library in general. diff --git a/Doc/library/tkinter.rst b/Doc/library/tkinter.rst index 60cf892e0888b7..640fb2ec61d359 100644 --- a/Doc/library/tkinter.rst +++ b/Doc/library/tkinter.rst @@ -55,7 +55,7 @@ installed, so you can read the Tcl/Tk documentation specific to that version. `Tcl/Tk recent man pages `_ Recent Tcl/Tk manuals on www.tcl.tk. - `ActiveState Tcl Home Page `_ + `ActiveState Tcl Home Page `_ The Tk/Tcl development is largely taking place at ActiveState. `Tcl and the Tk Toolkit `_ diff --git a/Doc/using/mac.rst b/Doc/using/mac.rst index a386728eaee306..bc022fa58c0401 100644 --- a/Doc/using/mac.rst +++ b/Doc/using/mac.rst @@ -141,7 +141,7 @@ There are several options for building GUI applications on the Mac with Python. *PyObjC* is a Python binding to Apple's Objective-C/Cocoa framework, which is the foundation of most modern Mac development. Information on PyObjC is -available from https://pythonhosted.org/pyobjc/. +available from https://pypi.org/project/pyobjc/. The standard Python GUI toolkit is :mod:`tkinter`, based on the cross-platform Tk toolkit (https://www.tcl.tk). An Aqua-native version of Tk is bundled with OS diff --git a/Doc/using/windows.rst b/Doc/using/windows.rst index 44b646fddfc4ba..e0f6a5907145d4 100644 --- a/Doc/using/windows.rst +++ b/Doc/using/windows.rst @@ -1043,7 +1043,9 @@ The `PyWin32 `_ module by Mark Hammond is a collection of modules for advanced Windows-specific support. This includes utilities for: -* `Component Object Model `_ (COM) +* `Component Object Model + `_ + (COM) * Win32 API calls * Registry * Event log @@ -1109,7 +1111,7 @@ For extension modules, consult :ref:`building-on-windows`. MinGW gcc under Windows" or "Installing Python extension with distutils and without Microsoft Visual C++" by Sébastien Sauvage, 2003 - `MingW -- Python extensions `_ + `MingW -- Python extensions `_ by Trent Apted et al, 2007 diff --git a/Doc/whatsnew/2.6.rst b/Doc/whatsnew/2.6.rst index 512b8edb357ae9..b6174a19a178b6 100644 --- a/Doc/whatsnew/2.6.rst +++ b/Doc/whatsnew/2.6.rst @@ -227,7 +227,7 @@ the Python community. Sphinx is a standalone package that can be used for writing, and almost two dozen other projects -(`listed on the Sphinx web site `__) +(`listed on the Sphinx web site `__) have adopted Sphinx as their documentation tool. .. seealso:: diff --git a/Doc/whatsnew/3.2.rst b/Doc/whatsnew/3.2.rst index 2d740006a3706a..a841ad9fd11972 100644 --- a/Doc/whatsnew/3.2.rst +++ b/Doc/whatsnew/3.2.rst @@ -50,7 +50,9 @@ This article explains the new features in Python 3.2 as compared to 3.1. It focuses on a few highlights and gives a few examples. For full details, see the -`Misc/NEWS `_ file. +`Misc/NEWS +`_ +file. .. seealso:: @@ -969,10 +971,10 @@ sites do not finish before midnight, the barrier times-out and the ballots are sealed and deposited in a queue for later handling. See `Barrier Synchronization Patterns -`_ for -more examples of how barriers can be used in parallel computing. Also, there is +`_ +for more examples of how barriers can be used in parallel computing. Also, there is a simple but thorough explanation of barriers in `The Little Book of Semaphores -`_, *section 3.6*. +`_, *section 3.6*. (Contributed by Kristján Valur Jónsson with an API review by Jeffrey Yasskin in :issue:`8777`.) @@ -2512,9 +2514,9 @@ repository. This distributed version control system should make it easier for members of the community to create and share external changesets. See :pep:`385` for details. -To learn to use the new version control system, see the `tutorial by Joel -Spolsky `_ or the `Guide to Mercurial Workflows -`_. +To learn to use the new version control system, see the `Quick Start +`_ or the `Guide to +Mercurial Workflows `_. Build and C API Changes From 52663347c95d11d7b2fa9ef20be3a236b7f77a0d Mon Sep 17 00:00:00 2001 From: Julien Palard Date: Wed, 22 May 2019 18:05:20 +0200 Subject: [PATCH 2/3] FIX: Whatsnew link. --- Doc/whatsnew/3.2.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/whatsnew/3.2.rst b/Doc/whatsnew/3.2.rst index a841ad9fd11972..ca3eda05c515af 100644 --- a/Doc/whatsnew/3.2.rst +++ b/Doc/whatsnew/3.2.rst @@ -51,7 +51,7 @@ This article explains the new features in Python 3.2 as compared to 3.1. It focuses on a few highlights and gives a few examples. For full details, see the `Misc/NEWS -`_ +`_ file. .. seealso:: From f6d5111991122acdf2eb1a121dce8677080e653d Mon Sep 17 00:00:00 2001 From: Julien Palard Date: Fri, 24 May 2019 15:38:00 +0200 Subject: [PATCH 3/3] Removing no longer true credit. --- Doc/using/windows.rst | 1 - 1 file changed, 1 deletion(-) diff --git a/Doc/using/windows.rst b/Doc/using/windows.rst index e0f6a5907145d4..a1b25ffd25f08a 100644 --- a/Doc/using/windows.rst +++ b/Doc/using/windows.rst @@ -1112,7 +1112,6 @@ For extension modules, consult :ref:`building-on-windows`. and without Microsoft Visual C++" by Sébastien Sauvage, 2003 `MingW -- Python extensions `_ - by Trent Apted et al, 2007 Other Platforms