protocol.py 526 B

123456789101112131415161718192021222324
  1. class protocol:
  2. @staticmethod
  3. def line_separator() -> str:
  4. return str("\n")
  5. @staticmethod
  6. def setter() -> str:
  7. return str("=")
  8. @staticmethod
  9. def section_buckles() -> [str, str]:
  10. return ("[", "]")
  11. @property
  12. def _line_separator(self) -> str:
  13. return self.__class__.line_separator()
  14. @property
  15. def _setter(self) -> str:
  16. return self.__class__.setter()
  17. @property
  18. def _section_buckles(self) -> [str, str]:
  19. return ("[", "]")