File: GLibUnix.py

package info (click to toggle)
pygobject 3.55.3-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 5,728 kB
  • sloc: ansic: 39,419; python: 26,856; sh: 114; makefile: 81; xml: 35; cpp: 1
file content (14 lines) | stat: -rw-r--r-- 418 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Copyright 2025 Marco Trevisan
# SPDX-License-Identifier: LGPL-2.1-or-later

from ..module import get_introspection_module
from ..overrides import deprecated_attr

GLibUnix = get_introspection_module("GLibUnix")

__all__ = []

if hasattr(GLibUnix, "signal_add"):
    signal_add_full = GLibUnix.signal_add
    __all__.append("signal_add_full")
    deprecated_attr("GLibUnix", "signal_add_full", "GLibUnix.signal_add")