Skip to content

Commit 856f0d6

Browse files
[gardening] First argument of a classmethod should be named 'cls'
1 parent 14d0be2 commit 856f0d6

File tree

1 file changed

+2
-2
lines changed
  • utils/swift_build_support/swift_build_support

1 file changed

+2
-2
lines changed

utils/swift_build_support/swift_build_support/targets.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,8 @@ def default_stdlib_deployment_targets():
200200
return [host_target]
201201

202202
@classmethod
203-
def get_target_for_name(klass, name):
204-
return klass._targets_by_name.get(name)
203+
def get_target_for_name(cls, name):
204+
return cls._targets_by_name.get(name)
205205

206206

207207
def install_prefix():

0 commit comments

Comments
 (0)