blob: 64d2afa88082ac9ede3c6114d9b33dbbcd7b23a3 [file] [log] [blame]
Wenzel Jakobbe0e8342015-10-01 16:48:34 +0200115
25
3Example2: No constructor defined!
4can't set attribute
Wenzel Jakob38bd7112015-07-05 20:05:44 +02005key: key2, value=value2
6key: key, value=value
Wenzel Jakobbe0e8342015-10-01 16:48:34 +02007key: key, value=value
Wenzel Jakob38bd7112015-07-05 20:05:44 +02008key: key2, value=value2
Wenzel Jakob333e8892015-11-14 19:04:49 +01009key: key3
10key: key2
11key: key1
12key: key1
13key: key2
14key: key3
Wenzel Jakob38bd7112015-07-05 20:05:44 +020015Entry at positon 0: value
16list item 0: overwritten
17list item 1: value2
18list item 0: value
19list item 1: value2
Wenzel Jakob38bd7112015-07-05 20:05:44 +020020This exception was intentionally thrown.
Wenzel Jakobbe0e8342015-10-01 16:48:34 +020021(u'test', True)
22(5L, u'test', True)
Wenzel Jakob38bd7112015-07-05 20:05:44 +020023Help on class Example2 in module example
24
Wenzel Jakobbe0e8342015-10-01 16:48:34 +020025class EExxaammppllee22(__builtin__.object)
26 | Example 2 documentation
27 |
Wenzel Jakob38bd7112015-07-05 20:05:44 +020028 | Methods defined here:
29 |
Wenzel Jakobbe0e8342015-10-01 16:48:34 +020030 | ____iinniitt____(...)
31 | x.__init__(...) initializes x; see help(type(x)) for signature
Wenzel Jakob38bd7112015-07-05 20:05:44 +020032 |
Wenzel Jakobbe0e8342015-10-01 16:48:34 +020033 | ggeett__ddiicctt(...)
34 | Signature : (Example2) -> dict
Wenzel Jakob38bd7112015-07-05 20:05:44 +020035 |
36 | Return a Python dictionary
37 |
Wenzel Jakobbe0e8342015-10-01 16:48:34 +020038 | ggeett__ddiicctt__22(...)
39 | Signature : (Example2) -> dict<str, str>
Wenzel Jakob38bd7112015-07-05 20:05:44 +020040 |
41 | Return a C++ dictionary
42 |
Wenzel Jakobbe0e8342015-10-01 16:48:34 +020043 | ggeett__lliisstt(...)
44 | Signature : (Example2) -> list
Wenzel Jakob38bd7112015-07-05 20:05:44 +020045 |
46 | Return a Python list
47 |
Wenzel Jakobbe0e8342015-10-01 16:48:34 +020048 | ggeett__lliisstt__22(...)
49 | Signature : (Example2) -> list<str>
Wenzel Jakob38bd7112015-07-05 20:05:44 +020050 |
51 | Return a C++ list
52 |
Wenzel Jakob333e8892015-11-14 19:04:49 +010053 | ggeett__sseett(...)
54 | Signature : (Example2) -> set
55 |
56 | Return a Python set
57 |
58 | ggeett__sseett22(...)
59 | Signature : (Example2) -> set
60 |
61 | Return a C++ set
62 |
Wenzel Jakobbe0e8342015-10-01 16:48:34 +020063 | ppaaiirr__ppaasssstthhrroouugghh(...)
64 | Signature : (Example2, (bool, str)) -> (str, bool)
Wenzel Jakob38bd7112015-07-05 20:05:44 +020065 |
66 | Return a pair in reversed order
67 |
Wenzel Jakobbe0e8342015-10-01 16:48:34 +020068 | pprriinntt__ddiicctt(...)
69 | Signature : (Example2, dict) -> None
Wenzel Jakob38bd7112015-07-05 20:05:44 +020070 |
71 | Print entries of a Python dictionary
72 |
Wenzel Jakobbe0e8342015-10-01 16:48:34 +020073 | pprriinntt__ddiicctt__22(...)
74 | Signature : (Example2, dict<str, str>) -> None
Wenzel Jakob38bd7112015-07-05 20:05:44 +020075 |
76 | Print entries of a C++ dictionary
77 |
Wenzel Jakobbe0e8342015-10-01 16:48:34 +020078 | pprriinntt__lliisstt(...)
79 | Signature : (Example2, list) -> None
Wenzel Jakob38bd7112015-07-05 20:05:44 +020080 |
81 | Print entries of a Python list
82 |
Wenzel Jakobbe0e8342015-10-01 16:48:34 +020083 | pprriinntt__lliisstt__22(...)
84 | Signature : (Example2, list<str>) -> None
Wenzel Jakob38bd7112015-07-05 20:05:44 +020085 |
86 | Print entries of a C++ list
87 |
Wenzel Jakob333e8892015-11-14 19:04:49 +010088 | pprriinntt__sseett(...)
89 | Signature : (Example2, set) -> None
90 |
91 | Print entries of a Python set
92 |
93 | pprriinntt__sseett__22(...)
94 | Signature : (Example2, set<str>) -> None
95 |
96 | Print entries of a C++ set
97 |
Wenzel Jakobbe0e8342015-10-01 16:48:34 +020098 | tthhrrooww__eexxcceeppttiioonn(...)
99 | Signature : (Example2) -> None
Wenzel Jakob38bd7112015-07-05 20:05:44 +0200100 |
101 | Throw an exception
102 |
Wenzel Jakobbe0e8342015-10-01 16:48:34 +0200103 | ttuuppllee__ppaasssstthhrroouugghh(...)
104 | Signature : (Example2, (bool, str, int32_t)) -> (int32_t, str, bool)
Wenzel Jakob38bd7112015-07-05 20:05:44 +0200105 |
106 | Return a triple in reversed order
107 |
108 | ----------------------------------------------------------------------
109 | Data and other attributes defined here:
110 |
Wenzel Jakobbe0e8342015-10-01 16:48:34 +0200111 | ____nneeww____ = <built-in method __new__ of Example2_meta object>
112 | T.__new__(S, ...) -> a new object with type S, a subtype of T
113 |
Wenzel Jakob333e8892015-11-14 19:04:49 +0100114 | ____ppyybbiinndd1111____ = <capsule object NULL>
Wenzel Jakobbe0e8342015-10-01 16:48:34 +0200115 |
116 | nneeww__iinnssttaannccee = <built-in method new_instance of PyCapsule object>
117 | Signature : () -> Example2
118 |
119 | Return an instance
Wenzel Jakob38bd7112015-07-05 20:05:44 +0200120
121Destructing Example2