Skip to content

Commit f22614f

Browse files
authored
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
1 parent 6f4b8ea commit f22614f

File tree

1 file changed

+3
-17
lines changed

1 file changed

+3
-17
lines changed

peps/pep-0257.rst

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11
PEP: 257
22
Title: Docstring Conventions
3-
Version: $Revision$
4-
Last-Modified: $Date$
53
Author: David Goodger <[email protected]>,
64
Guido van Rossum <[email protected]>
75
Discussions-To: [email protected]
86
Status: Active
97
Type: Informational
10-
Content-Type: text/x-rst
118
Created: 29-May-2001
129
Post-History: 13-Jun-2001
1310

@@ -74,8 +71,7 @@ detailed description of attribute and additional docstrings.
7471

7572
For consistency, always use ``"""triple double quotes"""`` around
7673
docstrings. Use ``r"""raw triple double quotes"""`` if you use any
77-
backslashes in your docstrings. For Unicode docstrings, use
78-
``u"""Unicode triple-quoted strings"""``.
74+
backslashes in your docstrings.
7975

8076
There are two forms of docstrings: one-liners and multi-line
8177
docstrings.
@@ -276,9 +272,9 @@ Once trimmed, these docstrings are equivalent::
276272
References and Footnotes
277273
========================
278274

279-
.. _Docutils: http://docutils.sourceforge.net/
275+
.. _Docutils: https://docutils.sourceforge.io/
280276

281-
.. _Doc-SIG: http://www.python.org/sigs/doc-sig/
277+
.. _Doc-SIG: https://www.python.org/community/sigs/current/doc-sig/
282278

283279

284280
Copyright
@@ -295,13 +291,3 @@ by Guido van Rossum.
295291

296292
This document borrows ideas from the archives of the Python Doc-SIG_.
297293
Thanks to all members past and present.
298-
299-
300-
301-
..
302-
Local Variables:
303-
mode: indented-text
304-
indent-tabs-mode: nil
305-
fill-column: 70
306-
sentence-end-double-space: t
307-
End:

0 commit comments

Comments
 (0)