Mercurial > p > roundup > code
annotate roundup/anypy/my_input.py @ 7432:e3b35dcf0dcb
Shorten/simplify doc TOC by removing redundant Roundup in titles.
We already have a Roundup label at the top of the page. Remove the
word Roundup from each item. Roundup Features -> Features etc.
The titles for the pages keep the word Roundup since it will show up
on the tab/browser window title etc.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Mon, 29 May 2023 19:53:06 -0400 |
| parents | 4cf48ff01e04 |
| children |
| rev | line source |
|---|---|
|
5401
4cf48ff01e04
Python 3 preparation: replace raw_input uses.
Joseph Myers <jsm@polyomino.org.uk>
parents:
diff
changeset
|
1 try: |
|
4cf48ff01e04
Python 3 preparation: replace raw_input uses.
Joseph Myers <jsm@polyomino.org.uk>
parents:
diff
changeset
|
2 # Python 2. |
|
4cf48ff01e04
Python 3 preparation: replace raw_input uses.
Joseph Myers <jsm@polyomino.org.uk>
parents:
diff
changeset
|
3 my_input = raw_input |
|
4cf48ff01e04
Python 3 preparation: replace raw_input uses.
Joseph Myers <jsm@polyomino.org.uk>
parents:
diff
changeset
|
4 except NameError: |
|
4cf48ff01e04
Python 3 preparation: replace raw_input uses.
Joseph Myers <jsm@polyomino.org.uk>
parents:
diff
changeset
|
5 # Python 3+. |
|
4cf48ff01e04
Python 3 preparation: replace raw_input uses.
Joseph Myers <jsm@polyomino.org.uk>
parents:
diff
changeset
|
6 my_input = input |
