Finished editing PythonLangImpl7.rst
This commit is contained in:
parent
16860436d4
commit
f771c3a86d
2 changed files with 1277 additions and 1048 deletions
|
|
@ -115,7 +115,7 @@ following simple example computes `Fibonacci
|
||||||
numbers <http://en.wikipedia.org/wiki/Fibonacci_number>`_:
|
numbers <http://en.wikipedia.org/wiki/Fibonacci_number>`_:
|
||||||
|
|
||||||
|
|
||||||
.. code-block::
|
.. code-block:: python
|
||||||
|
|
||||||
# Compute the x'th fibonacci number.
|
# Compute the x'th fibonacci number.
|
||||||
def fib(x):
|
def fib(x):
|
||||||
|
|
@ -135,7 +135,7 @@ LLVM JIT makes this completely trivial). This means that you can use the
|
||||||
useful for mutually recursive functions). For example:
|
useful for mutually recursive functions). For example:
|
||||||
|
|
||||||
|
|
||||||
.. code-block::
|
.. code-block:: python
|
||||||
|
|
||||||
extern sin(arg);
|
extern sin(arg);
|
||||||
extern cos(arg);
|
extern cos(arg);
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue