[pypy-svn] extradoc extradoc: make a few things use a mono-spaced font, fix a `---` (which ReST helpfully
cfbolz
commits-noreply at bitbucket.org
Mon Mar 7 18:20:56 CET 2011
Author: Carl Friedrich Bolz <cfbolz at gmx.de>
Branch: extradoc
Changeset: r3359:96e4b69cfacd
Date: 2011-03-07 18:20 +0100
http://bitbucket.org/pypy/extradoc/changeset/96e4b69cfacd/
Log: make a few things use a mono-spaced font, fix a `---` (which ReST
helpfully escapes for you).
diff --git a/talk/ustour2011/google-talk.txt b/talk/ustour2011/google-talk.txt
--- a/talk/ustour2011/google-talk.txt
+++ b/talk/ustour2011/google-talk.txt
@@ -143,7 +143,7 @@
* Depends on the use case
-* Much better than CPython for instances of classes with no __slots__
+* Much better than CPython for instances of classes with no ``__slots__``
* On running PyPy's translation toolchain on 32-bits: 1.7GB with PyPy
(including the JIT machine code), versus 1.2GB with CPython
@@ -169,7 +169,7 @@
* More so than, say, Jython or IronPython
* Main difference: Garbage Collection is not refcounting (because we
- could get much better GCs) --- so __del__ methods are not called
+ could get much better GCs) — so ``__del__`` methods are not called
immediately and predictively
* Apart from that, it is really 99.99% compatible
@@ -250,17 +250,17 @@
How ``a + b`` works (simplified!):
-* look up the method __add__ on the type of a
+* look up the method ``__add__`` on the type of a
* if there is one, call it
* if it returns NotImplemented, or if there is none,
- look up the method __radd__ on the type of b
+ look up the method ``__radd__`` on the type of b
* if there is one, call it
-* if there is none, or we get NotImplemented again,
- raise an exception TypeError
+* if there is none, or we get ``NotImplemented`` again,
+ raise an exception ``TypeError``
Python is a mess
More information about the Pypy-commit
mailing list