~savoy/coppergal

c4aa7cd25a95086f58eca7d5571d6c4ceb92fbaa — savoy 1 year, 8 months ago f52a91e master
fixed: self-referential typehinting for location

Signed-off-by: savoy <git@liberation.red>
1 files changed, 4 insertions(+), 0 deletions(-)

M src/coppergal/location.py
M src/coppergal/location.py => src/coppergal/location.py +4 -0
@@ 16,6 16,10 @@
# You should have received a copy of the GNU General Public License
# along with coppergal.  If not, see <http://www.gnu.org/licenses/>.

# for type hint of class returning new instance of Self
# https://stackoverflow.com/questions/33533148/how-do-i-type-hint-a-method-with-the-type-of-the-enclosing-class
from __future__ import annotations

import re

from enum import Enum