Server : Apache System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64 User : dh_edsupp ( 6597262) PHP Version : 8.2.26 Disable Function : NONE Directory : /lib/python3/dist-packages/mercurial/__pycache__/ |
Upload File : |
o �]Lb�� � @ s� d dl mZ ddlmZ ddlmZmZmZmZ ddlm Z dd� Z G dd � d e�ZG d d� de�Z G dd � d e�Zdd� ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�Zddd�ZG dd� de�ZG dd� de�ZdS ) � )�absolute_import� )�getattr)�encoding�error�pycompat�util)� stringutilc C s t �t| �j��d�S )N� _)r �sysbytes�type�__name__�lstrip)�o� r �4/usr/lib/python3/dist-packages/mercurial/smartset.py� _typename s r c @ s� e Zd Zdd� ZeZdd� Zdd� ZdZdZdd � Z d d� Z dd � Zdd� Zdd� Z dd� Zdd� Zdd� Zdd� Zd*dd�Zdd� Zdd � Zd!d"� Zd+d$d%�Zd&d'� Zd(d)� ZdS ),�abstractsmartsetc C � t � �)z!True if the smartset is not empty��NotImplementedError��selfr r r �__nonzero__ � zabstractsmartset.__nonzero__c C r )zprovide fast membership testingr )r �revr r r �__contains__ r zabstractsmartset.__contains__c C r )z:iterate the set in the order it is supposed to be iteratedr r r r r �__iter__# r zabstractsmartset.__iter__Nc C r )z/True if the set will iterate in ascending orderr r r r r �isascending/ r zabstractsmartset.isascendingc C r )z0True if the set will iterate in descending orderr r r r r �isdescending3 r zabstractsmartset.isdescendingc C r )z3True if the set will iterate in topographical orderr r r r r �istopo7 r zabstractsmartset.istopoc s>