Skip to content
This repository was archived by the owner on Apr 21, 2023. It is now read-only.

Commit e1454a6

Browse files
authored
Update Python.swift
1 parent 933624f commit e1454a6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

PythonKit/Python.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1711,6 +1711,7 @@ public struct PythonClass {
17111711
self.init(name, superclasses: superclasses, members: members.dictionary)
17121712
}
17131713

1714+
@_disfavoredOverload
17141715
public init(_ name: String, superclasses: [PythonObject] = [], members: [String: PythonObject] = [:]) {
17151716
var trueSuperclasses = superclasses
17161717
if !trueSuperclasses.contains(Python.object) {

0 commit comments

Comments
 (0)