mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-04-24 04:14:57 +08:00
Py3: Use functools.total_ordering for better rich comparison
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
import abc
|
||||
import copy
|
||||
import random
|
||||
from functools import total_ordering
|
||||
|
||||
import pyparsing as pp
|
||||
|
||||
from . import base
|
||||
|
||||
|
||||
@total_ordering
|
||||
class _Action(base.Token):
|
||||
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user