diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2003-06-13 14:32:49 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2003-06-13 14:32:49 (GMT) |
commit | 880be6f1cfbfc482d041dfa06a40f4114aa1c141 (patch) | |
tree | d7d6a4447d6bc6361f588fb13f05d95c536d947d /Mac | |
parent | 8475d0256a9aafebe9685e5abcf8bcfc7f32f374 (diff) | |
download | cpython-880be6f1cfbfc482d041dfa06a40f4114aa1c141.zip cpython-880be6f1cfbfc482d041dfa06a40f4114aa1c141.tar.gz cpython-880be6f1cfbfc482d041dfa06a40f4114aa1c141.tar.bz2 |
Use the new, now preferred, form of referring to object specifiers (through
the object, not the module).
Diffstat (limited to 'Mac')
-rw-r--r-- | Mac/OSXResources/app/Resources/English.lproj/Documentation/scripting.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/OSXResources/app/Resources/English.lproj/Documentation/scripting.html b/Mac/OSXResources/app/Resources/English.lproj/Documentation/scripting.html index ae9ccee..58b1fe2 100644 --- a/Mac/OSXResources/app/Resources/English.lproj/Documentation/scripting.html +++ b/Mac/OSXResources/app/Resources/English.lproj/Documentation/scripting.html @@ -21,7 +21,7 @@ Python:</p> import Finder f = Finder.Finder() -print f.get(Finder.window(1).name) +print f.get(f.window(1).name) </pre></tt></blockquote> <p>is identical to the following piece of AppleScript:</p> |