We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d7df511 + 285b6b5 commit 07e7949Copy full SHA for 07e7949
utils/swift_build_support/swift_build_support/targets.py
@@ -200,8 +200,8 @@ def default_stdlib_deployment_targets():
200
return [host_target]
201
202
@classmethod
203
- def get_target_for_name(klass, name):
204
- return klass._targets_by_name.get(name)
+ def get_target_for_name(cls, name):
+ return cls._targets_by_name.get(name)
205
206
207
def install_prefix():
utils/swift_build_support/tests/test_toolchain.py
@@ -113,7 +113,7 @@ def test_tools_llvm_suffix(self):
113
114
def test_toolchain_instances(self):
115
# Check that we can instantiate every toolchain, even if it isn't the
116
- # current patform.
+ # current platform.
117
toolchain.MacOSX()
118
toolchain.Linux()
119
toolchain.FreeBSD()
0 commit comments