deprecated.py 605 B

12345678910111213141516171819
  1. # Copyright (C) 2022 The Qt Company Ltd.
  2. # SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
  3. from __future__ import annotations
  4. """
  5. deprecated.py
  6. This module contains deprecated things that are removed from the interface.
  7. They are implemented in Python again, together with a deprecation warning.
  8. Functions that are to be called for
  9. PySide6.<module> must be named
  10. fix_for_<module> .
  11. Note that this fixing code is run after all initializations, but before the
  12. import is finished. But that is no problem since the module is passed in.
  13. """
  14. # eof