| 15 |
| 5 |
| Example2: No constructor defined! |
| can't set attribute |
| key: key2, value=value2 |
| key: key, value=value |
| key: key, value=value |
| key: key2, value=value2 |
| key: key3 |
| key: key2 |
| key: key1 |
| key: key1 |
| key: key2 |
| key: key3 |
| Entry at positon 0: value |
| list item 0: overwritten |
| list item 1: value2 |
| list item 0: value |
| list item 1: value2 |
| This exception was intentionally thrown. |
| (u'test', True) |
| (5L, u'test', True) |
| Help on class Example2 in module example |
| |
| class EExxaammppllee22(__builtin__.object) |
| | Example 2 documentation |
| | |
| | Methods defined here: |
| | |
| | ____iinniitt____(...) |
| | x.__init__(...) initializes x; see help(type(x)) for signature |
| | |
| | ggeett__ddiicctt(...) |
| | Signature : (Example2) -> dict |
| | |
| | Return a Python dictionary |
| | |
| | ggeett__ddiicctt__22(...) |
| | Signature : (Example2) -> dict<str, str> |
| | |
| | Return a C++ dictionary |
| | |
| | ggeett__lliisstt(...) |
| | Signature : (Example2) -> list |
| | |
| | Return a Python list |
| | |
| | ggeett__lliisstt__22(...) |
| | Signature : (Example2) -> list<str> |
| | |
| | Return a C++ list |
| | |
| | ggeett__sseett(...) |
| | Signature : (Example2) -> set |
| | |
| | Return a Python set |
| | |
| | ggeett__sseett22(...) |
| | Signature : (Example2) -> set |
| | |
| | Return a C++ set |
| | |
| | ppaaiirr__ppaasssstthhrroouugghh(...) |
| | Signature : (Example2, (bool, str)) -> (str, bool) |
| | |
| | Return a pair in reversed order |
| | |
| | pprriinntt__ddiicctt(...) |
| | Signature : (Example2, dict) -> None |
| | |
| | Print entries of a Python dictionary |
| | |
| | pprriinntt__ddiicctt__22(...) |
| | Signature : (Example2, dict<str, str>) -> None |
| | |
| | Print entries of a C++ dictionary |
| | |
| | pprriinntt__lliisstt(...) |
| | Signature : (Example2, list) -> None |
| | |
| | Print entries of a Python list |
| | |
| | pprriinntt__lliisstt__22(...) |
| | Signature : (Example2, list<str>) -> None |
| | |
| | Print entries of a C++ list |
| | |
| | pprriinntt__sseett(...) |
| | Signature : (Example2, set) -> None |
| | |
| | Print entries of a Python set |
| | |
| | pprriinntt__sseett__22(...) |
| | Signature : (Example2, set<str>) -> None |
| | |
| | Print entries of a C++ set |
| | |
| | tthhrrooww__eexxcceeppttiioonn(...) |
| | Signature : (Example2) -> None |
| | |
| | Throw an exception |
| | |
| | ttuuppllee__ppaasssstthhrroouugghh(...) |
| | Signature : (Example2, (bool, str, int32_t)) -> (int32_t, str, bool) |
| | |
| | Return a triple in reversed order |
| | |
| | ---------------------------------------------------------------------- |
| | Data and other attributes defined here: |
| | |
| | ____nneeww____ = <built-in method __new__ of Example2_meta object> |
| | T.__new__(S, ...) -> a new object with type S, a subtype of T |
| | |
| | ____ppyybbiinndd1111____ = <capsule object NULL> |
| | |
| | nneeww__iinnssttaannccee = <built-in method new_instance of PyCapsule object> |
| | Signature : () -> Example2 |
| | |
| | Return an instance |
| |
| Destructing Example2 |