Skip to content

Commit e720c0a

Browse files
committed
Merged revisions 72009 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r72009 | georg.brandl | 2009-04-27 17:29:09 +0200 (Mo, 27 Apr 2009) | 3 lines Demote warnings to notices where appropriate, following the goal that as few "red box" warnings should clutter the docs as possible. Part 1: stuff that gets merged to Py3k. ........
1 parent c67d362 commit e720c0a

21 files changed

+65
-40
lines changed

Doc/c-api/intro.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ This implies inclusion of the following standard headers: ``<stdio.h>``,
4444
``<string.h>``, ``<errno.h>``, ``<limits.h>``, and ``<stdlib.h>`` (if
4545
available).
4646

47-
.. warning::
47+
.. note::
4848

4949
Since Python may define some pre-processor definitions which affect the standard
5050
headers on some systems, you *must* include :file:`Python.h` before any standard

Doc/documenting/markup.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -594,11 +594,11 @@ units as well as normal text:
594594

595595
.. describe:: warning
596596

597-
An important bit of information about an API that a user should be very aware
598-
of when using whatever bit of API the warning pertains to. The content of
599-
the directive should be written in complete sentences and include all
600-
appropriate punctuation. This differs from ``note`` in that it is recommended
601-
over ``note`` for information regarding security.
597+
An important bit of information about an API that a user should be aware of
598+
when using whatever bit of API the warning pertains to. The content of the
599+
directive should be written in complete sentences and include all appropriate
600+
punctuation. This should only be chosen over ``note`` for information
601+
regarding the possibility of crashes, data loss, or security implications.
602602

603603
.. describe:: versionadded
604604

Doc/extending/extending.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ The first line of our file can be::
4747
which pulls in the Python API (you can add a comment describing the purpose of
4848
the module and a copyright notice if you like).
4949

50-
.. warning::
50+
.. note::
5151

5252
Since Python may define some pre-processor definitions which affect the standard
5353
headers on some systems, you *must* include :file:`Python.h` before any standard

Doc/library/2to3.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ and off individually. They are described here in more detail.
354354
.. moduleauthor:: Collin Winter
355355

356356

357-
.. warning::
357+
.. note::
358358

359359
The :mod:`lib2to3` API should be considered unstable and may change
360360
drastically in the future.

Doc/library/aifc.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
:mod:`aifc` --- Read and write AIFF and AIFC files
32
==================================================
43

@@ -16,10 +15,11 @@ AIFF is Audio Interchange File Format, a format for storing digital audio
1615
samples in a file. AIFF-C is a newer version of the format that includes the
1716
ability to compress the audio data.
1817

19-
.. warning::
18+
.. note::
2019

2120
Some operations may only work under IRIX; these will raise :exc:`ImportError`
22-
when attempting to import the :mod:`cl` module, which is only available on IRIX.
21+
when attempting to import the :mod:`cl` module, which is only available on
22+
IRIX.
2323

2424
Audio files have a number of parameters that describe the audio data. The
2525
sampling rate or frame rate is the number of times per second the sound is

Doc/library/codeop.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ To do just the former:
4242
(``'single'``, the default) or as an :term:`expression` (``'eval'``). Any
4343
other value will cause :exc:`ValueError` to be raised.
4444

45-
.. warning::
45+
.. note::
4646

4747
It is possible (but not likely) that the parser stops parsing with a
4848
successful outcome before reaching the end of the source; in this case,

Doc/library/configparser.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ structure similar to what you would find on Microsoft Windows INI files. You
2121
can use this to write Python programs which can be customized by end users
2222
easily.
2323

24-
.. warning::
24+
.. note::
2525

26-
This library does *not* interpret or write the value-type prefixes used in the
27-
Windows Registry extended version of INI syntax.
26+
This library does *not* interpret or write the value-type prefixes used in
27+
the Windows Registry extended version of INI syntax.
2828

2929
The configuration file consists of sections, led by a ``[section]`` header and
3030
followed by ``name: value`` entries, with continuations in the style of

Doc/library/fileinput.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ and the backup file remains around; by default, the extension is ``'.bak'`` and
144144
it is deleted when the output file is closed. In-place filtering is disabled
145145
when standard input is read.
146146

147-
.. warning::
147+
.. note::
148148

149149
The current implementation does not work for MS-DOS 8+3 filesystems.
150150

Doc/library/functions.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ are always available. They are listed here in alphabetical order.
359359
global and local dictionary, respectively, which may be useful to pass around
360360
for use as the second and third argument to :func:`exec`.
361361

362-
.. warning::
362+
.. note::
363363

364364
The default *locals* act as described for function :func:`locals` below:
365365
modifications to the default *locals* dictionary should not be attempted.
@@ -591,7 +591,7 @@ are always available. They are listed here in alphabetical order.
591591

592592
Update and return a dictionary representing the current local symbol table.
593593

594-
.. warning::
594+
.. note::
595595

596596
The contents of this dictionary should not be modified; changes may not affect
597597
the values of local variables used by the interpreter.
@@ -1166,7 +1166,7 @@ are always available. They are listed here in alphabetical order.
11661166
else that has a :attr:`__dict__` attribute), returns a dictionary corresponding
11671167
to the object's symbol table.
11681168

1169-
.. warning::
1169+
.. note::
11701170
The returned dictionary should not be modified:
11711171
the effects on the corresponding symbol table are undefined. [#]_
11721172

Doc/library/http.client.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ The module provides the following classes:
5252
formatted file that contains your private key. *cert_file* is a PEM formatted
5353
certificate chain file.
5454

55-
.. warning::
55+
.. note::
5656

57-
This does not do any certificate verification!
57+
This does not do any certificate verification.
5858

5959

6060
.. class:: HTTPResponse(sock[, debuglevel=0][, strict=0])

0 commit comments

Comments
 (0)