From f22614f903cd50d19e5463913fde6d4a17109de0 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Wed, 17 Apr 2024 14:35:59 +0300 Subject: [PATCH] PEP 257: Remove outdated Unicode docstring advice (#3748) * PEP 257: Remove outdated Unicode docstring advice * PEP 257: Remove redundant headers and emacs footer * PEP 257: Update links --- peps/pep-0257.rst | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/peps/pep-0257.rst b/peps/pep-0257.rst index 0074cd05b..9ef667588 100644 --- a/peps/pep-0257.rst +++ b/peps/pep-0257.rst @@ -1,13 +1,10 @@ PEP: 257 Title: Docstring Conventions -Version: $Revision$ -Last-Modified: $Date$ Author: David Goodger , Guido van Rossum Discussions-To: doc-sig@python.org Status: Active Type: Informational -Content-Type: text/x-rst Created: 29-May-2001 Post-History: 13-Jun-2001 @@ -74,8 +71,7 @@ detailed description of attribute and additional docstrings. For consistency, always use ``"""triple double quotes"""`` around docstrings. Use ``r"""raw triple double quotes"""`` if you use any -backslashes in your docstrings. For Unicode docstrings, use -``u"""Unicode triple-quoted strings"""``. +backslashes in your docstrings. There are two forms of docstrings: one-liners and multi-line docstrings. @@ -276,9 +272,9 @@ Once trimmed, these docstrings are equivalent:: References and Footnotes ======================== -.. _Docutils: http://docutils.sourceforge.net/ +.. _Docutils: https://docutils.sourceforge.io/ -.. _Doc-SIG: http://www.python.org/sigs/doc-sig/ +.. _Doc-SIG: https://www.python.org/community/sigs/current/doc-sig/ Copyright @@ -295,13 +291,3 @@ by Guido van Rossum. This document borrows ideas from the archives of the Python Doc-SIG_. Thanks to all members past and present. - - - -.. - Local Variables: - mode: indented-text - indent-tabs-mode: nil - fill-column: 70 - sentence-end-double-space: t - End: