Skip to content

Commit 248f2e2

Browse files
committed
Move simplerepl.py to the documentation (fixes #870)
1 parent 3a1c1b0 commit 248f2e2

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

doc/sphinx/source/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,4 @@ Contents:
2323
bpaste
2424
tips
2525
bpdb
26+
simplerepl

doc/sphinx/source/simplerepl.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
.. _simplerepl:
2+
3+
A Simple REPL
4+
=============
5+
6+
The following code listing shows a simple example REPL implemented using `bpython` and `curtsies`.
7+
8+
.. literalinclude:: simplerepl.py
9+
:language: python

0 commit comments

Comments
 (0)