文件操作 - _compat.cpython-310.pyc
返回文件管理
返回主菜单
删除本文件
文件: /usr/lib/python3/dist-packages/zope/interface/__pycache__/_compat.cpython-310.pyc
编辑文件内容
o $ x`G � @ s� d Z ddlZddlZddlZejd dk r(dd� ZeejfZe fZ dZdZdZ nd d� ZefZefZ d ZdZdZ eed�Ze o@eZdd � Zdd� Zdd� Zdd� Zdd� Zdd� Zddd�ZdS )z� Support functions for dealing with differences in platforms, including Python versions and implementations. This file should have no imports from the rest of zope.interface because it is used during early bootstrapping. � N� c C s t | t�r t| �S td��)Nz(name must be a regular or unicode string)� isinstance� basestring�unicode� TypeError��name� r �8/usr/lib/python3/dist-packages/zope/interface/_compat.py�_normalize_name s r �__builtin__FTc C s* t | t�r t| d�} t | t�r| S td��)N�asciiz)name must be a string or ASCII-only bytes)r �bytes�strr r r r r r * s �builtins�pypy_version_infoc C s"