[pypy-commit] cffi default: typo in overview code (thanks __imp__)

arigo pypy.commits at gmail.com
Thu Feb 13 03:45:54 EST 2020


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r3342:976b4a8b1c6b
Date: 2020-02-13 09:45 +0100
http://foss.heptapod.net/cffi/cffi/changeset/976b4a8b1c6b/

Log:	typo in overview code (thanks __imp__)

diff --git a/doc/source/overview.rst b/doc/source/overview.rst
--- a/doc/source/overview.rst
+++ b/doc/source/overview.rst
@@ -358,7 +358,7 @@
        from _pi.lib import pi_approx
    
        approx = pi_approx(10)
-       assert str(pi_approximation).startswith("3.")
+       assert str(approx).startswith("3.")
    
        approx = pi_approx(10000)
        assert str(approx).startswith("3.1")  


More information about the pypy-commit mailing list