Mark a block of code as text, and remove the python-isms.

The kaleidoscope language being implemented looks similar to Python, but
is not the same.
This commit is contained in:
John Szakmeister 2012-11-30 04:01:04 -05:00
commit 7c7c198953

View file

@ -115,13 +115,13 @@ following simple example computes `Fibonacci
numbers <http://en.wikipedia.org/wiki/Fibonacci_number>`_:
.. code-block:: python
.. code-block:: text
# Compute the x'th fibonacci number.
def fib(x):
if x < 3:
def fib(x)
if x < 3
return 1
else:
else
return fib(x-1)+fib(x-2)
# This expression will compute the 40th number.