summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/res/Resmodule.c
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2000-03-08 15:18:35 (GMT)
committerBarry Warsaw <barry@python.org>2000-03-08 15:18:35 (GMT)
commita17e0f1b61add9a49f2f611c7baf42257a3979da (patch)
treed67608523f56301bc8c26ebe8c252fb54c1c4480 /Mac/Modules/res/Resmodule.c
parent34d11f0670cbfb1e72af5285b36f207f22fb99d2 (diff)
downloadcpython-a17e0f1b61add9a49f2f611c7baf42257a3979da.zip
cpython-a17e0f1b61add9a49f2f611c7baf42257a3979da.tar.gz
cpython-a17e0f1b61add9a49f2f611c7baf42257a3979da.tar.bz2
A bunch of changes, primarily to command line argument parsing
(inspired by Detlef Lannert). Specifically, -k/--keyword no longer takes an optional argument to clear the default keywords. Instead, use -K/--no-default-keywords to clear them. -n/--add-location also no longer takes an optional argument to set the comment style. Instead, use -S/--style to set the comment style to GNU or Solaris. -o/--output can take `-' as the filename, meaning write to standard output. The inputfile name can also be `-' meaning read from standard in. A few other changes include Kludge to mark the file docstring as translatable. Since the marking is to place _() around the docstring, and because we actually have to define the _() function before we use it, this means that we have to manually assign to __doc__ the output of _(). This doesn't seem too bad because you'll only use this idiom when translating a script's docstring (you really don't need to translate most module docstrings). Convert everything to string methods and do not import the string module. Bump the version number to 1.1
Diffstat (limited to 'Mac/Modules/res/Resmodule.c')
0 files changed, 0 insertions, 0 deletions