diff options
| author | Dylan Baker <dylan@pnwbakers.com> | 2022-11-18 13:44:57 -0800 |
|---|---|---|
| committer | Eli Schwartz <eschwartz@archlinux.org> | 2023-05-31 17:20:46 -0400 |
| commit | cb0b6352b5b3fe548f2148999b4072eac76ff465 (patch) | |
| tree | f141fbfee6c140cbf3fb1414b8557120bdc608e1 /mesonbuild/mlog.py | |
| parent | 11fab771b17f7d20cc5af235acfcc68ec63baa16 (diff) | |
| download | meson-cb0b6352b5b3fe548f2148999b4072eac76ff465.tar.gz | |
mlog: put the module docstring at the top of the file
Where it belongs. Otherwise it isn't rendered correctly
Diffstat (limited to 'mesonbuild/mlog.py')
| -rw-r--r-- | mesonbuild/mlog.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/mesonbuild/mlog.py b/mesonbuild/mlog.py index edddad5ee..3c95ee84a 100644 --- a/mesonbuild/mlog.py +++ b/mesonbuild/mlog.py @@ -11,6 +11,11 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. + +"""This is (mostly) a standalone module used to write logging +information about Meson runs. Some output goes to screen, +some to logging dir and some goes to both.""" + from __future__ import annotations import enum @@ -35,10 +40,6 @@ if T.TYPE_CHECKING: TV_Loggable = T.Union[str, 'AnsiDecorator', StringProtocol] TV_LoggableList = T.List[TV_Loggable] -"""This is (mostly) a standalone module used to write logging -information about Meson runs. Some output goes to screen, -some to logging dir and some goes to both.""" - def is_windows() -> bool: platname = platform.system().lower() return platname == 'windows' |
