mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Use the new, now preferred, form of referring to object specifiers (through
the object, not the module).
This commit is contained in:
parent
8475d0256a
commit
880be6f1cf
1 changed files with 1 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue