Development of an internal social media platform with personalised dashboards for students
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

eoo.py 634B

12345678910111213141516171819202122232425262728
  1. #
  2. # This file is part of pyasn1 software.
  3. #
  4. # Copyright (c) 2005-2018, Ilya Etingof <etingof@gmail.com>
  5. # License: http://snmplabs.com/pyasn1/license.html
  6. #
  7. from pyasn1.type import base
  8. from pyasn1.type import tag
  9. __all__ = ['endOfOctets']
  10. class EndOfOctets(base.AbstractSimpleAsn1Item):
  11. defaultValue = 0
  12. tagSet = tag.initTagSet(
  13. tag.Tag(tag.tagClassUniversal, tag.tagFormatSimple, 0x00)
  14. )
  15. _instance = None
  16. def __new__(cls, *args, **kwargs):
  17. if cls._instance is None:
  18. cls._instance = object.__new__(cls, *args, **kwargs)
  19. return cls._instance
  20. endOfOctets = EndOfOctets()