blob: 341fcb2f34921ffeb1d4b507db7b160ec18e0bc4 [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
9Entry at positon 0: value
10list item 0: overwritten
11list item 1: value2
12list item 0: value
13list item 1: value2
Wenzel Jakob38bd7112015-07-05 20:05:44 +020014This exception was intentionally thrown.
Wenzel Jakobbe0e8342015-10-01 16:48:34 +020015(u'test', True)
16(5L, u'test', True)
Wenzel Jakob38bd7112015-07-05 20:05:44 +020017Help on class Example2 in module example
18
Wenzel Jakobbe0e8342015-10-01 16:48:34 +020019class EExxaammppllee22(__builtin__.object)
20 | Example 2 documentation
21 |
Wenzel Jakob38bd7112015-07-05 20:05:44 +020022 | Methods defined here:
23 |
Wenzel Jakobbe0e8342015-10-01 16:48:34 +020024 | ____iinniitt____(...)
25 | x.__init__(...) initializes x; see help(type(x)) for signature
Wenzel Jakob38bd7112015-07-05 20:05:44 +020026 |
Wenzel Jakobbe0e8342015-10-01 16:48:34 +020027 | ggeett__ddiicctt(...)
28 | Signature : (Example2) -> dict
Wenzel Jakob38bd7112015-07-05 20:05:44 +020029 |
30 | Return a Python dictionary
31 |
Wenzel Jakobbe0e8342015-10-01 16:48:34 +020032 | ggeett__ddiicctt__22(...)
33 | Signature : (Example2) -> dict<str, str>
Wenzel Jakob38bd7112015-07-05 20:05:44 +020034 |
35 | Return a C++ dictionary
36 |
Wenzel Jakobbe0e8342015-10-01 16:48:34 +020037 | ggeett__lliisstt(...)
38 | Signature : (Example2) -> list
Wenzel Jakob38bd7112015-07-05 20:05:44 +020039 |
40 | Return a Python list
41 |
Wenzel Jakobbe0e8342015-10-01 16:48:34 +020042 | ggeett__lliisstt__22(...)
43 | Signature : (Example2) -> list<str>
Wenzel Jakob38bd7112015-07-05 20:05:44 +020044 |
45 | Return a C++ list
46 |
Wenzel Jakobbe0e8342015-10-01 16:48:34 +020047 | ppaaiirr__ppaasssstthhrroouugghh(...)
48 | Signature : (Example2, (bool, str)) -> (str, bool)
Wenzel Jakob38bd7112015-07-05 20:05:44 +020049 |
50 | Return a pair in reversed order
51 |
Wenzel Jakobbe0e8342015-10-01 16:48:34 +020052 | pprriinntt__ddiicctt(...)
53 | Signature : (Example2, dict) -> None
Wenzel Jakob38bd7112015-07-05 20:05:44 +020054 |
55 | Print entries of a Python dictionary
56 |
Wenzel Jakobbe0e8342015-10-01 16:48:34 +020057 | pprriinntt__ddiicctt__22(...)
58 | Signature : (Example2, dict<str, str>) -> None
Wenzel Jakob38bd7112015-07-05 20:05:44 +020059 |
60 | Print entries of a C++ dictionary
61 |
Wenzel Jakobbe0e8342015-10-01 16:48:34 +020062 | pprriinntt__lliisstt(...)
63 | Signature : (Example2, list) -> None
Wenzel Jakob38bd7112015-07-05 20:05:44 +020064 |
65 | Print entries of a Python list
66 |
Wenzel Jakobbe0e8342015-10-01 16:48:34 +020067 | pprriinntt__lliisstt__22(...)
68 | Signature : (Example2, list<str>) -> None
Wenzel Jakob38bd7112015-07-05 20:05:44 +020069 |
70 | Print entries of a C++ list
71 |
Wenzel Jakobbe0e8342015-10-01 16:48:34 +020072 | tthhrrooww__eexxcceeppttiioonn(...)
73 | Signature : (Example2) -> None
Wenzel Jakob38bd7112015-07-05 20:05:44 +020074 |
75 | Throw an exception
76 |
Wenzel Jakobbe0e8342015-10-01 16:48:34 +020077 | ttuuppllee__ppaasssstthhrroouugghh(...)
78 | Signature : (Example2, (bool, str, int32_t)) -> (int32_t, str, bool)
Wenzel Jakob38bd7112015-07-05 20:05:44 +020079 |
80 | Return a triple in reversed order
81 |
82 | ----------------------------------------------------------------------
83 | Data and other attributes defined here:
84 |
Wenzel Jakobbe0e8342015-10-01 16:48:34 +020085 | ____nneeww____ = <built-in method __new__ of Example2_meta object>
86 | T.__new__(S, ...) -> a new object with type S, a subtype of T
87 |
88 | ____ppyybbiinndd____ = <capsule object NULL>
89 |
90 | nneeww__iinnssttaannccee = <built-in method new_instance of PyCapsule object>
91 | Signature : () -> Example2
92 |
93 | Return an instance
Wenzel Jakob38bd7112015-07-05 20:05:44 +020094
95Destructing Example2