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:
parent
d685bee542
commit
5a162ed07f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user