mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[gardening] Use consistent capitalization for "Python".
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -13,7 +13,7 @@
|
|||||||
*~
|
*~
|
||||||
# Merge files created by git.
|
# Merge files created by git.
|
||||||
*.orig
|
*.orig
|
||||||
# Byte compiled python modules.
|
# Byte compiled Python modules.
|
||||||
*.pyc
|
*.pyc
|
||||||
# vim swap files
|
# vim swap files
|
||||||
.*.sw[a-z]
|
.*.sw[a-z]
|
||||||
|
|||||||
@@ -217,7 +217,7 @@ we know to ignore swift_getGenericMetadata 84 times, i.e.::
|
|||||||
LLDB Scripts
|
LLDB Scripts
|
||||||
````````````
|
````````````
|
||||||
|
|
||||||
LLDB has powerful capabilities of scripting in python among other languages. An
|
LLDB has powerful capabilities of scripting in Python among other languages. An
|
||||||
often overlooked, but very useful technique is the -s command to lldb. This
|
often overlooked, but very useful technique is the -s command to lldb. This
|
||||||
essentially acts as a pseudo-stdin of commands that lldb will read commands
|
essentially acts as a pseudo-stdin of commands that lldb will read commands
|
||||||
from. Each time lldb hits a stopping point (i.e. a breakpoint or a
|
from. Each time lldb hits a stopping point (i.e. a breakpoint or a
|
||||||
|
|||||||
@@ -527,7 +527,7 @@ def register_function(lib, item, ignore_errors):
|
|||||||
try:
|
try:
|
||||||
func = getattr(lib, item[0])
|
func = getattr(lib, item[0])
|
||||||
except AttributeError as e:
|
except AttributeError as e:
|
||||||
msg = str(e) + ". Please ensure that your python bindings are "\
|
msg = str(e) + ". Please ensure that your Python bindings are "\
|
||||||
"compatible with your sourcekitd version."
|
"compatible with your sourcekitd version."
|
||||||
if ignore_errors:
|
if ignore_errors:
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user