← Back
Editing: module.cpython-312.pyc
� �jt � � � d Z ddlZddlZ ddlmZ ddlZddlZddl Z ddl Z ddlmZ d� Z G d� d� Zd � Z G d � d� Zy# e$ r ddlmZ Y �>w xY w)zU Utilities for dealing with the compilation of modules and creation of module tress. � N)�getstatusoutput� )�defaultsc �t � t j d| � }t |� dk( r| d j � ryy)z'Check that a module name is valid. z[^a-zA-Z0-9_\-\.]r TF)�re�findall�len�isalpha)�modname�ms �4/usr/lib/python3.12/site-packages/sepolgen/module.py� is_valid_namer ( s5 � � � � �'��1�A� �1�v��{�w�q�z�)�)�+��� c �>