summaryrefslogtreecommitdiffstats
path: root/Demo/pdist/mac.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-08-02 23:17:21 (GMT)
committerGeorg Brandl <georg@python.org>2010-08-02 23:17:21 (GMT)
commit68642f5ed0100eb8c0b970bc9333af1d272bf4f8 (patch)
tree186d1b3946afb9d03d841df75d218c9fef0911d1 /Demo/pdist/mac.py
parent2db2b8a17dd643fd48ae050404e2dacc40afacc9 (diff)
downloadcpython-68642f5ed0100eb8c0b970bc9333af1d272bf4f8.zip
cpython-68642f5ed0100eb8c0b970bc9333af1d272bf4f8.tar.gz
cpython-68642f5ed0100eb8c0b970bc9333af1d272bf4f8.tar.bz2
Remove obsolete pdist demo.
Diffstat (limited to 'Demo/pdist/mac.py')
-rw-r--r--Demo/pdist/mac.py24
1 files changed, 0 insertions, 24 deletions
diff --git a/Demo/pdist/mac.py b/Demo/pdist/mac.py
deleted file mode 100644
index beb77ec..0000000
--- a/Demo/pdist/mac.py
+++ /dev/null
@@ -1,24 +0,0 @@
-import sys
-import rcvs
-
-def raw_input(prompt):
- sys.stdout.write(prompt)
- sys.stdout.flush()
- return sys.stdin.readline()
-
-def main():
- while 1:
- try:
- line = input('$ ')
- except EOFError:
- break
- words = line.split()
- if not words:
- continue
- if words[0] != 'rcvs':
- words.insert(0, 'rcvs')
- sys.argv = words
- rcvs.main()
-
-if __name__ == '__main__':
- main()