[Python-checkins] devguide: Fix issues found by rstlint.
zach.ware
python-checkins at python.org
Thu Jul 21 11:42:34 EDT 2016
https://hg.python.org/devguide/rev/7c3578c3bd26
changeset: 822:7c3578c3bd26
user: Zachary Ware <zachary.ware at gmail.com>
date: Thu Jul 21 10:42:23 2016 -0500
summary:
Fix issues found by rstlint.
files:
clang.rst | 8 ++++----
committing.rst | 4 ++--
documenting.rst | 2 +-
gdb.rst | 2 +-
setup.rst | 2 +-
5 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/clang.rst b/clang.rst
--- a/clang.rst
+++ b/clang.rst
@@ -67,7 +67,7 @@
wget http://llvm.org/releases/3.4/llvm-3.4.src.tar.gz
wget http://llvm.org/releases/3.4/clang-3.4.src.tar.gz
wget http://llvm.org/releases/3.4/compiler-rt-3.4.src.tar.gz
-
+
# LLVM
tar xvf llvm-3.4.src.tar.gz
cd llvm-3.4/tools
@@ -216,7 +216,7 @@
'union _gc_head'), which requires 16 byte alignment
0x2b76be018078: note: pointer points here
00 00 00 00 40 53 5a b6 76 2b 00 00 60 52 5a b6 ...
- ^
+ ^
...
If you are using the address sanitizer, its important to pipe the output through
@@ -228,7 +228,7 @@
/usr/local/bin/clang -fsanitize=address -Xlinker -export-dynamic
-o python Modules/python.o libpython3.3m.a -ldl -lutil
- /usr/local/ssl/lib/libssl.a /usr/local/ssl/lib/libcrypto.a -lm
+ /usr/local/ssl/lib/libssl.a /usr/local/ssl/lib/libcrypto.a -lm
./python -E -S -m sysconfig --generate-posix-vars
=================================================================
==24064==ERROR: AddressSanitizer: heap-buffer-overflow on address
@@ -267,7 +267,7 @@
0x0c327fff8850: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
Shadow byte legend (one shadow byte represents 8 application bytes):
Addressable: 00
- Partially addressable: 01 02 03 04 05 06 07
+ Partially addressable: 01 02 03 04 05 06 07
Heap left redzone: fa
Heap right redzone: fb
Freed heap region: fd
diff --git a/committing.rst b/committing.rst
--- a/committing.rst
+++ b/committing.rst
@@ -407,9 +407,9 @@
$ hg pull
$ hg up
$ hg import --no-c http://bugs.python.org/url/to/the/patch.diff
- $ # review, run tests, run `make patchcheck`
+ $ # review, run tests, run 'make patchcheck'
$ hg ci -m '#12345: fix some issue.'
- $ # switch to 3.5 and port the changeset using `hg graft`
+ $ # switch to 3.5 and port the changeset using 'hg graft'
$ cd ../3.5
$ hg up
$ hg graft 2.7
diff --git a/documenting.rst b/documenting.rst
--- a/documenting.rst
+++ b/documenting.rst
@@ -1442,7 +1442,7 @@
.. rubric:: Footnotes
-.. [1] There is a standard ``.. include`` directive, but it raises errors if the
+.. [1] There is a standard ``include`` directive, but it raises errors if the
file is not found. This one only emits a warning.
diff --git a/gdb.rst b/gdb.rst
--- a/gdb.rst
+++ b/gdb.rst
@@ -238,7 +238,7 @@
main()
(gdb) frame 68
#68 0x00000000004cd1e6 in PyEval_EvalFrameEx (f=Frame 0xaa4560, for file Lib/test/regrtest.py, line 1548, in <module> (), throwflag=0) at Python/ceval.c:2665
- 2665 x = call_function(&sp, oparg);
+ 2665 x = call_function(&sp, oparg);
(gdb) py-list
1543 # Run the tests in a context manager that temporary changes the CWD to a
1544 # temporary and writable directory. If it's not possible to create or
diff --git a/setup.rst b/setup.rst
--- a/setup.rst
+++ b/setup.rst
@@ -164,7 +164,7 @@
LDFLAGS="-L$(brew --prefix openssl)/lib" \
./configure --with-pydebug
-or MacPorts::
+or MacPorts::
$ sudo port install openssl xz
$ CPPFLAGS="-I/opt/local/include" \
--
Repository URL: https://hg.python.org/devguide
More information about the Python-checkins
mailing list