Need a unique gift idea?
A Pastebin account makes a great Christmas gift


a guest Mar 13th, 2018 62 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
  1. class ClientVerifier(type):
  2.     '''отсутствие вызовов connect для сокетов'''
  4.     def __new__(cls, clsname, bases, clsdict):
  5.         for method in clsdict:
  6.             if callable(clsdict.get(method)):
  7.                 for instr in dis.get_instructions(clsdict.get(method)):
  8.                     if instr.argval in INVALID_CALLS:
  9.                         raise ClientVerifierError
  10.         return type.__new__(cls, clsname, bases, clsdict)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand