mirror of
https://github.com/python/cpython.git
synced 2025-12-10 11:00:14 +00:00
Issue #12935: Correct typo in findertools.
This commit is contained in:
parent
7711273ce8
commit
1549bac6ba
1 changed files with 1 additions and 1 deletions
|
|
@ -128,7 +128,7 @@ def update(file):
|
||||||
def comment(object, comment=None):
|
def comment(object, comment=None):
|
||||||
"""comment: get or set the Finder-comment of the item, displayed in the 'Get Info' window."""
|
"""comment: get or set the Finder-comment of the item, displayed in the 'Get Info' window."""
|
||||||
object = Carbon.File.FSRef(object)
|
object = Carbon.File.FSRef(object)
|
||||||
object_alias = object.FSNewAliasMonimal()
|
object_alias = object.FSNewAliasMinimal()
|
||||||
if comment is None:
|
if comment is None:
|
||||||
return _getcomment(object_alias)
|
return _getcomment(object_alias)
|
||||||
else:
|
else:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue