1
0
mirror of https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git synced 2026-10-24 00:48:53 +03:00

bindings: python: make internal a private submodule

The internal submodule shouldn't be exposed as part of the public
interface, so mark it private following PEP 8 convention [0].

[0]: https://peps.python.org/pep-0008/#public-and-internal-interfaces

Signed-off-by: Vincent Fazio <vfazio@xes-inc.com>
Link: https://lore.kernel.org/r/20241114145116.2123714-3-vfazio@xes-inc.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
This commit is contained in:
Vincent Fazio
2024-11-14 08:50:55 -06:00
committed by Bartosz Golaszewski
parent 7fde8a47f5
commit b306ce694a
3 changed files with 2 additions and 3 deletions

View File

@@ -6,8 +6,8 @@ from errno import ENOENT
from typing import TYPE_CHECKING, Optional, Union
from . import _ext
from ._internal import poll_fd
from .exception import ChipClosedError
from .internal import poll_fd
from .line import Value
from .line_request import LineRequest
from .line_settings import LineSettings, _line_settings_to_ext

View File

@@ -4,9 +4,8 @@
from typing import TYPE_CHECKING, Optional, Union
from . import _ext
from ._internal import poll_fd
from .exception import RequestReleasedError
from .internal import poll_fd
from .line_settings import LineSettings, _line_settings_to_ext
if TYPE_CHECKING: