[pypy-commit] extradoc extradoc: a smiley, name guilty and update nos
fijal
noreply at buildbot.pypy.org
Sun Jul 31 00:58:38 CEST 2011
Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: extradoc
Changeset: r3862:305ae73ddaad
Date: 2011-07-31 00:58 +0200
http://bitbucket.org/pypy/extradoc/changeset/305ae73ddaad/
Log: a smiley, name guilty and update nos
diff --git a/blog/draft/string-formatting.rst b/blog/draft/string-formatting.rst
--- a/blog/draft/string-formatting.rst
+++ b/blog/draft/string-formatting.rst
@@ -11,9 +11,11 @@
sprintf(x, "%d %d", i, i);
Note that we had to stop for a second and consider how big numbers might get
-and overestimate the size (42 = length of the biggest number on 64bit (20) +
+and overestimate the size (44 = length of the biggest number on 64bit (20) +
1 for the sign * 2 + 1 (for the space) + 1 (NUL byte)), it took the authors of
-this post, two experienced programmers, 3 tries to get the math right on this.
+this post, two experienced programmers, 3 tries to get the math
+right on this :-)
+
This is fine, except you can't even return ``x`` from this function, a more
fair comparison might be::
More information about the pypy-commit
mailing list