File: //lib64/python3.9/site-packages/gssapi/__pycache__/_utils.cpython-39.pyc
a
��_z � @ s� d dl Z d dlZd dlZd dlZd dlmZ d dlmZ dd� Z dd� Z
deee d�d d
�Zda
dd
� Zdd� Zdd� Zejdd� �Zejdd� �ZG dd� de�ZdS )� N)�Optional)�GSSErrorc C s8 zd� | �}t|� tj| W S ty2 Y dS 0 dS )aa Import a GSSAPI extension module
This method imports a GSSAPI extension module based
on the name of the extension (not including the
'ext_' prefix). If the extension is not available,
the method retuns None.
Args:
name (str): the name of the extension
Returns:
module: Either the extension module or None
zgssapi.raw.ext_{0}N)�format�
__import__�sys�modules�ImportError)�name�path� r �3/usr/lib64/python3.9/site-packages/gssapi/_utils.py�import_gssapi_extension s
r
c s"