mirror of
https://github.com/python/cpython.git
synced 2025-09-27 18:59:43 +00:00
Fix typos.
This commit is contained in:
parent
406d7aaee7
commit
2827709d6d
3 changed files with 5 additions and 5 deletions
|
@ -10,7 +10,7 @@ def abstractmethod(funcobj):
|
||||||
Requires that the metaclass is ABCMeta or derived from it. A
|
Requires that the metaclass is ABCMeta or derived from it. A
|
||||||
class that has a metaclass derived from ABCMeta cannot be
|
class that has a metaclass derived from ABCMeta cannot be
|
||||||
instantiated unless all of its abstract methods are overridden.
|
instantiated unless all of its abstract methods are overridden.
|
||||||
The abstract methods can be called using any of the the normal
|
The abstract methods can be called using any of the normal
|
||||||
'super' call mechanisms.
|
'super' call mechanisms.
|
||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
|
@ -31,7 +31,7 @@ class abstractproperty(property):
|
||||||
Requires that the metaclass is ABCMeta or derived from it. A
|
Requires that the metaclass is ABCMeta or derived from it. A
|
||||||
class that has a metaclass derived from ABCMeta cannot be
|
class that has a metaclass derived from ABCMeta cannot be
|
||||||
instantiated unless all of its abstract properties are overridden.
|
instantiated unless all of its abstract properties are overridden.
|
||||||
The abstract properties can be called using any of the the normal
|
The abstract properties can be called using any of the normal
|
||||||
'super' call mechanisms.
|
'super' call mechanisms.
|
||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
|
|
|
@ -1544,8 +1544,8 @@ class Tree(TixWidget):
|
||||||
'''This command is used to indicate whether the entry given by
|
'''This command is used to indicate whether the entry given by
|
||||||
entryPath has children entries and whether the children are visible. mode
|
entryPath has children entries and whether the children are visible. mode
|
||||||
must be one of open, close or none. If mode is set to open, a (+)
|
must be one of open, close or none. If mode is set to open, a (+)
|
||||||
indicator is drawn next the the entry. If mode is set to close, a (-)
|
indicator is drawn next to the entry. If mode is set to close, a (-)
|
||||||
indicator is drawn next the the entry. If mode is set to none, no
|
indicator is drawn next to the entry. If mode is set to none, no
|
||||||
indicators will be drawn for this entry. The default mode is none. The
|
indicators will be drawn for this entry. The default mode is none. The
|
||||||
open mode indicates the entry has hidden children and this entry can be
|
open mode indicates the entry has hidden children and this entry can be
|
||||||
opened by the user. The close mode indicates that all the children of the
|
opened by the user. The close mode indicates that all the children of the
|
||||||
|
|
|
@ -37,7 +37,7 @@ def _load_tile(master):
|
||||||
import os
|
import os
|
||||||
tilelib = os.environ.get('TILE_LIBRARY')
|
tilelib = os.environ.get('TILE_LIBRARY')
|
||||||
if tilelib:
|
if tilelib:
|
||||||
# append custom tile path to the the list of directories that
|
# append custom tile path to the list of directories that
|
||||||
# Tcl uses when attempting to resolve packages with the package
|
# Tcl uses when attempting to resolve packages with the package
|
||||||
# command
|
# command
|
||||||
master.tk.eval(
|
master.tk.eval(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue