summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2003-06-13 14:32:49 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2003-06-13 14:32:49 (GMT)
commit880be6f1cfbfc482d041dfa06a40f4114aa1c141 (patch)
treed7d6a4447d6bc6361f588fb13f05d95c536d947d /Mac
parent8475d0256a9aafebe9685e5abcf8bcfc7f32f374 (diff)
downloadcpython-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.html2
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>