diff options
| author | Dylan Baker <dylan@pnwbakers.com> | 2024-04-09 09:50:13 -0700 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2024-04-09 12:27:39 -0700 |
| commit | d617dc6869bcd5afcd784ff39cc5b6597b1912a2 (patch) | |
| tree | 852289f5450f09b62fe362729d45bec5969e2444 /mesonbuild/modules/qt5.py | |
| parent | ef2b164f1f6b6597b48ea34ef897f6a303499620 (diff) | |
| download | meson-d617dc6869bcd5afcd784ff39cc5b6597b1912a2.tar.gz | |
modules: rename qt.py -> _qt.py
Since it's an implementation detail, and shouldn't be exposed. This also
helps give better error messages when a user writes `import('qt')`,
since otherwise you get an error about `qt doesn't have an initialize
method`, and now you get `qt module doesn't exist`.
Diffstat (limited to 'mesonbuild/modules/qt5.py')
| -rw-r--r-- | mesonbuild/modules/qt5.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/modules/qt5.py b/mesonbuild/modules/qt5.py index 11958c981..f950c0944 100644 --- a/mesonbuild/modules/qt5.py +++ b/mesonbuild/modules/qt5.py @@ -4,7 +4,7 @@ from __future__ import annotations import typing as T -from .qt import QtBaseModule +from ._qt import QtBaseModule from . import ModuleInfo if T.TYPE_CHECKING: |
