10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-12-25 05:43:46 +01:00

Beter abstract class definition for formatHandlerBase

This commit is contained in:
Mickaël Véril 2020-10-06 13:59:06 +02:00
parent d685bee542
commit 5a162ed07f

View File

@ -1,7 +1,5 @@
from abc import ABCMeta
from abc import abstractmethod
class formatHandlerBase(object):
__metaclass__ = ABCMeta
from abc import ABCMeta, abstractmethod
class formatHandlerBase(object, metaclass=ABCMeta):
def __init__(self,TexOps, commands=[]):
self.TexOps=TexOps
self.commands=commands