Disposable.dispose method dispose(self) -> None: Disposes this object, effectively turning this into an unmanaged resource.