10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-12-26 06:14:38 +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 ABCMeta, abstractmethod
from abc import abstractmethod class formatHandlerBase(object, metaclass=ABCMeta):
class formatHandlerBase(object):
__metaclass__ = ABCMeta
def __init__(self,TexOps, commands=[]): def __init__(self,TexOps, commands=[]):
self.TexOps=TexOps self.TexOps=TexOps
self.commands=commands self.commands=commands