 
   public var pythonObject: PythonObject {
     _ = Python // Ensure Python is initialized.
-    return PythonObject(sliceStart: nil, stop: upperBound, step: nil)
+    return Python.slice(Python.None, upperBound, Python.None)
   }
 }
 


  public var magnitude: PythonObject {
    return self < 0 ? -self : self
  }
}


}

public extension PythonObject {
  // Tuples require explicit support because tuple types cannot conform to
  // protocols.
  init(tupleOf elements: PythonConvertible...) {
