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.

137 lines
3.9 KiB

  1. 15
  2. 5
  3. example.Example2: No constructor defined!
  4. can't set attribute
  5. key: key2, value=value2
  6. key: key, value=value
  7. key: key, value=value
  8. key: key2, value=value2
  9. key: key3
  10. key: key2
  11. key: key1
  12. key: key1
  13. key: key2
  14. key: key3
  15. Entry at positon 0: value
  16. list item 0: overwritten
  17. list item 1: value2
  18. list item 0: value
  19. list item 1: value2
  20. [u'array entry 1', u'array entry 2']
  21. array item 0: array entry 1
  22. array item 1: array entry 2
  23. This exception was intentionally thrown.
  24. (u'test', True)
  25. (5L, u'test', True)
  26. Help on class Example2 in module example
  27. class EExxaammppllee22(__builtin__.object)
  28. | Example 2 documentation
  29. |
  30. | Methods defined here:
  31. |
  32. | ____iinniitt____(...)
  33. | x.__init__(...) initializes x; see help(type(x)) for signature
  34. |
  35. | ggeett__aarrrraayy(...)
  36. | Signature : (example.Example2) -> list<unicode>[2]
  37. |
  38. | Return a C++ array
  39. |
  40. | ggeett__ddiicctt(...)
  41. | Signature : (example.Example2) -> dict
  42. |
  43. | Return a Python dictionary
  44. |
  45. | ggeett__ddiicctt__22(...)
  46. | Signature : (example.Example2) -> dict<unicode, unicode>
  47. |
  48. | Return a C++ dictionary
  49. |
  50. | ggeett__lliisstt(...)
  51. | Signature : (example.Example2) -> list
  52. |
  53. | Return a Python list
  54. |
  55. | ggeett__lliisstt__22(...)
  56. | Signature : (example.Example2) -> list<unicode>
  57. |
  58. | Return a C++ list
  59. |
  60. | ggeett__sseett(...)
  61. | Signature : (example.Example2) -> set
  62. |
  63. | Return a Python set
  64. |
  65. | ggeett__sseett22(...)
  66. | Signature : (example.Example2) -> set
  67. |
  68. | Return a C++ set
  69. |
  70. | ppaaiirr__ppaasssstthhrroouugghh(...)
  71. | Signature : (example.Example2, (bool, unicode)) -> (unicode, bool)
  72. |
  73. | Return a pair in reversed order
  74. |
  75. | pprriinntt__aarrrraayy(...)
  76. | Signature : (example.Example2, list<unicode>[2]) -> NoneType
  77. |
  78. | Print entries of a C++ array
  79. |
  80. | pprriinntt__ddiicctt(...)
  81. | Signature : (example.Example2, dict) -> NoneType
  82. |
  83. | Print entries of a Python dictionary
  84. |
  85. | pprriinntt__ddiicctt__22(...)
  86. | Signature : (example.Example2, dict<unicode, unicode>) -> NoneType
  87. |
  88. | Print entries of a C++ dictionary
  89. |
  90. | pprriinntt__lliisstt(...)
  91. | Signature : (example.Example2, list) -> NoneType
  92. |
  93. | Print entries of a Python list
  94. |
  95. | pprriinntt__lliisstt__22(...)
  96. | Signature : (example.Example2, list<unicode>) -> NoneType
  97. |
  98. | Print entries of a C++ list
  99. |
  100. | pprriinntt__sseett(...)
  101. | Signature : (example.Example2, set) -> NoneType
  102. |
  103. | Print entries of a Python set
  104. |
  105. | pprriinntt__sseett__22(...)
  106. | Signature : (example.Example2, set<unicode>) -> NoneType
  107. |
  108. | Print entries of a C++ set
  109. |
  110. | tthhrrooww__eexxcceeppttiioonn(...)
  111. | Signature : (example.Example2) -> NoneType
  112. |
  113. | Throw an exception
  114. |
  115. | ttuuppllee__ppaasssstthhrroouugghh(...)
  116. | Signature : (example.Example2, (bool, unicode, int)) -> (int, unicode, bool)
  117. |
  118. | Return a triple in reversed order
  119. |
  120. | ----------------------------------------------------------------------
  121. | Data and other attributes defined here:
  122. |
  123. | ____nneeww____ = <built-in method __new__ of example.Example2__Meta object>
  124. | T.__new__(S, ...) -> a new object with type S, a subtype of T
  125. |
  126. | nneeww__iinnssttaannccee = <built-in method new_instance of PyCapsule object>
  127. | Signature : () -> example.Example2
  128. |
  129. | Return an instance
  130. __name__(example) = example
  131. __name__(example.Example2) = Example2
  132. __module__(example.Example2) = example
  133. __name__(example.Example2.get_set) = get_set
  134. __module__(example.Example2.get_set) = example
  135. Destructing Example2