mercurial/error.py
changeset 51863 f4733654f144
parent 51290 f4a0806081f2
equal deleted inserted replaced
51862:607e94e01851 51863:f4733654f144
     9 
     9 
    10 This allows us to catch exceptions at higher levels without forcing
    10 This allows us to catch exceptions at higher levels without forcing
    11 imports.
    11 imports.
    12 """
    12 """
    13 
    13 
       
    14 from __future__ import annotations
    14 
    15 
    15 import difflib
    16 import difflib
    16 
    17 
    17 from typing import (
    18 from typing import (
    18     AnyStr,
    19     AnyStr,