diff options
author | Georg Brandl <georg@python.org> | 2008-09-13 17:46:05 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-09-13 17:46:05 (GMT) |
commit | c575c9064769d37ac9555b7cd2907c25ab030810 (patch) | |
tree | 8b15a940b50eba4b66a62a2610904efe88d94d18 /Doc/tutorial | |
parent | a6fc212d2a2254ea2c3a6890bbb9b17cf0878529 (diff) | |
download | cpython-c575c9064769d37ac9555b7cd2907c25ab030810.zip cpython-c575c9064769d37ac9555b7cd2907c25ab030810.tar.gz cpython-c575c9064769d37ac9555b7cd2907c25ab030810.tar.bz2 |
Merged revisions 66452 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r66452 | georg.brandl | 2008-09-13 19:41:16 +0200 (Sat, 13 Sep 2008) | 2 lines
Remove things specific to the old Macintosh, and spell "Mac OS X" consistently.
........
Diffstat (limited to 'Doc/tutorial')
-rw-r--r-- | Doc/tutorial/appetite.rst | 2 | ||||
-rw-r--r-- | Doc/tutorial/interpreter.rst | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Doc/tutorial/appetite.rst b/Doc/tutorial/appetite.rst index b5e1a16..26e5168 100644 --- a/Doc/tutorial/appetite.rst +++ b/Doc/tutorial/appetite.rst @@ -23,7 +23,7 @@ You could write a Unix shell script or Windows batch files for some of these tasks, but shell scripts are best at moving around files and changing text data, not well-suited for GUI applications or games. You could write a C/C++/Java program, but it can take a lot of development time to get even a first-draft -program. Python is simpler to use, available on Windows, MacOS X, and Unix +program. Python is simpler to use, available on Windows, Mac OS X, and Unix operating systems, and will help you get the job done more quickly. Python is simple to use, but it is a real programming language, offering much diff --git a/Doc/tutorial/interpreter.rst b/Doc/tutorial/interpreter.rst index 2601009..216b4f5 100644 --- a/Doc/tutorial/interpreter.rst +++ b/Doc/tutorial/interpreter.rst @@ -160,9 +160,9 @@ shell scripts, by putting the line :: (assuming that the interpreter is on the user's :envvar:`PATH`) at the beginning of the script and giving the file an executable mode. The ``#!`` must be the first two characters of the file. On some platforms, this first line must end -with a Unix-style line ending (``'\n'``), not a Mac OS (``'\r'``) or Windows -(``'\r\n'``) line ending. Note that the hash, or pound, character, ``'#'``, is -used to start a comment in Python. +with a Unix-style line ending (``'\n'``), not a Windows (``'\r\n'``) line +ending. Note that the hash, or pound, character, ``'#'``, is used to start a +comment in Python. The script can be given an executable mode, or permission, using the :program:`chmod` command:: |