mirror of https://github.com/python/cpython
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
|
@ -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…
Reference in New Issue