Advertisement
Guest User

Untitled

a guest
Jun 25th, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.70 KB | None | 0 0
  1. Help on class Container in module collections.abc:
  2.  
  3. class Container(builtins.object)
  4. | Methods defined here:
  5. |
  6. | __contains__(self, x)
  7. |
  8. | ----------------------------------------------------------------------
  9. | Class methods defined here:
  10. |
  11. | __subclasshook__(C) from abc.ABCMeta
  12. | Abstract classes can override this to customize issubclass().
  13. |
  14. | This is invoked early on by abc.ABCMeta.__subclasscheck__().
  15. | It should return True, False or NotImplemented. If it returns
  16. | NotImplemented, the normal algorithm is used. Otherwise, it
  17. | overrides the normal algorithm (and the outcome is cached).
  18. |
  19. | ----------------------------------------------------------------------
  20. | Data and other attributes defined here:
  21. |
  22. | __abstractmethods__ = frozenset({'__contains__'})
  23.  
  24. Help on class Container in module collections.abc:
  25.  
  26. class Container(builtins.object)
  27. | Methods defined here:
  28. |
  29. | __contains__(self, x)
  30. |
  31. | ----------------------------------------------------------------------
  32. | Class methods defined here:
  33. |
  34. | __subclasshook__(C) from abc.ABCMeta
  35. | Abstract classes can override this to customize issubclass().
  36. |
  37. | This is invoked early on by abc.ABCMeta.__subclasscheck__().
  38. | It should return True, False or NotImplemented. If it returns
  39. | NotImplemented, the normal algorithm is used. Otherwise, it
  40. | overrides the normal algorithm (and the outcome is cached).
  41. |
  42. | ----------------------------------------------------------------------
  43. | Data and other attributes defined here:
  44. |
  45. | __abstractmethods__ = frozenset({'__contains__'})
  46.  
  47. >>> from collections import Container
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement