Main

Benchmark main module.
- module:
main
- author:
Le Bars, Yoann
This file is part of the pure Python benchmark.
This Python benchmark is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This Python benchmark is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
The file LICENSE is a copy of the GNU General Public License. You can also see it on https://www.gnu.org/licenses/.
- main.main(*args: list, **kwargs: dict) int
Main function for independently module running.
- Parameters:
args (list) – List of arguments.
kwargs (dict) – Dictionary of arguments.
- Returns:
0 if everything went well, an error code if something went wrong, -1 if the command line is incorrect, -2 if the about file is missing.
- Return type:
int