Wenzel Jakob | 38bd711 | 2015-07-05 20:05:44 +0200 | [diff] [blame] | 1 | key: key, value=value |
Wenzel Jakob | 60c36db | 2015-11-30 12:30:28 +0100 | [diff] [blame^] | 2 | key: key2, value=value2 |
Wenzel Jakob | be0e834 | 2015-10-01 16:48:34 +0200 | [diff] [blame] | 3 | key: key, value=value |
Wenzel Jakob | 38bd711 | 2015-07-05 20:05:44 +0200 | [diff] [blame] | 4 | key: key2, value=value2 |
Wenzel Jakob | 333e889 | 2015-11-14 19:04:49 +0100 | [diff] [blame] | 5 | key: key3 |
Wenzel Jakob | 333e889 | 2015-11-14 19:04:49 +0100 | [diff] [blame] | 6 | key: key1 |
Wenzel Jakob | 60c36db | 2015-11-30 12:30:28 +0100 | [diff] [blame^] | 7 | key: key2 |
Wenzel Jakob | 333e889 | 2015-11-14 19:04:49 +0100 | [diff] [blame] | 8 | key: key1 |
| 9 | key: key2 |
| 10 | key: key3 |
Wenzel Jakob | 38bd711 | 2015-07-05 20:05:44 +0200 | [diff] [blame] | 11 | Entry at positon 0: value |
| 12 | list item 0: overwritten |
| 13 | list item 1: value2 |
| 14 | list item 0: value |
| 15 | list item 1: value2 |
Wenzel Jakob | 60c36db | 2015-11-30 12:30:28 +0100 | [diff] [blame^] | 16 | 15 |
| 17 | 5 |
| 18 | example.Example2: No constructor defined! |
| 19 | can't set attribute |
Wenzel Jakob | 38bd711 | 2015-07-05 20:05:44 +0200 | [diff] [blame] | 20 | This exception was intentionally thrown. |
Wenzel Jakob | 60c36db | 2015-11-30 12:30:28 +0100 | [diff] [blame^] | 21 | ('test', True) |
| 22 | (5, 'test', True) |
Wenzel Jakob | 38bd711 | 2015-07-05 20:05:44 +0200 | [diff] [blame] | 23 | Help on class Example2 in module example |
| 24 | |
Wenzel Jakob | 60c36db | 2015-11-30 12:30:28 +0100 | [diff] [blame^] | 25 | class EExxaammppllee22(builtins.object) |
Wenzel Jakob | be0e834 | 2015-10-01 16:48:34 +0200 | [diff] [blame] | 26 | | Example 2 documentation |
| 27 | | |
Wenzel Jakob | 38bd711 | 2015-07-05 20:05:44 +0200 | [diff] [blame] | 28 | | Methods defined here: |
| 29 | | |
Wenzel Jakob | 60c36db | 2015-11-30 12:30:28 +0100 | [diff] [blame^] | 30 | | ____iinniitt____(self, /, *args, **kwargs) |
| 31 | | Initialize self. See help(type(self)) for accurate signature. |
Wenzel Jakob | 38bd711 | 2015-07-05 20:05:44 +0200 | [diff] [blame] | 32 | | |
Wenzel Jakob | 60c36db | 2015-11-30 12:30:28 +0100 | [diff] [blame^] | 33 | | ____nneeww____ = <built-in method __new__ of example.Example2_meta object> |
| 34 | | ggeett__ddiicctt(...) from builtins.PyCapsule |
| 35 | | Signature : (example.Example2) -> dict |
Wenzel Jakob | 38bd711 | 2015-07-05 20:05:44 +0200 | [diff] [blame] | 36 | | |
| 37 | | Return a Python dictionary |
| 38 | | |
Wenzel Jakob | 60c36db | 2015-11-30 12:30:28 +0100 | [diff] [blame^] | 39 | | ggeett__ddiicctt__22(...) from builtins.PyCapsule |
| 40 | | Signature : (example.Example2) -> dict<str, str> |
Wenzel Jakob | 38bd711 | 2015-07-05 20:05:44 +0200 | [diff] [blame] | 41 | | |
| 42 | | Return a C++ dictionary |
| 43 | | |
Wenzel Jakob | 60c36db | 2015-11-30 12:30:28 +0100 | [diff] [blame^] | 44 | | ggeett__lliisstt(...) from builtins.PyCapsule |
| 45 | | Signature : (example.Example2) -> list |
Wenzel Jakob | 38bd711 | 2015-07-05 20:05:44 +0200 | [diff] [blame] | 46 | | |
| 47 | | Return a Python list |
| 48 | | |
Wenzel Jakob | 60c36db | 2015-11-30 12:30:28 +0100 | [diff] [blame^] | 49 | | ggeett__lliisstt__22(...) from builtins.PyCapsule |
| 50 | | Signature : (example.Example2) -> list<str> |
Wenzel Jakob | 38bd711 | 2015-07-05 20:05:44 +0200 | [diff] [blame] | 51 | | |
| 52 | | Return a C++ list |
| 53 | | |
Wenzel Jakob | 60c36db | 2015-11-30 12:30:28 +0100 | [diff] [blame^] | 54 | | ggeett__sseett(...) from builtins.PyCapsule |
| 55 | | Signature : (example.Example2) -> set |
Wenzel Jakob | 333e889 | 2015-11-14 19:04:49 +0100 | [diff] [blame] | 56 | | |
| 57 | | Return a Python set |
| 58 | | |
Wenzel Jakob | 60c36db | 2015-11-30 12:30:28 +0100 | [diff] [blame^] | 59 | | ggeett__sseett22(...) from builtins.PyCapsule |
| 60 | | Signature : (example.Example2) -> set |
Wenzel Jakob | 333e889 | 2015-11-14 19:04:49 +0100 | [diff] [blame] | 61 | | |
| 62 | | Return a C++ set |
| 63 | | |
Wenzel Jakob | 60c36db | 2015-11-30 12:30:28 +0100 | [diff] [blame^] | 64 | | nneeww__iinnssttaannccee(...) from builtins.PyCapsule |
| 65 | | Signature : () -> example.Example2 |
| 66 | | |
| 67 | | Return an instance |
| 68 | | |
| 69 | | ppaaiirr__ppaasssstthhrroouugghh(...) from builtins.PyCapsule |
| 70 | | Signature : (example.Example2, (bool, str)) -> (str, bool) |
Wenzel Jakob | 38bd711 | 2015-07-05 20:05:44 +0200 | [diff] [blame] | 71 | | |
| 72 | | Return a pair in reversed order |
| 73 | | |
Wenzel Jakob | 60c36db | 2015-11-30 12:30:28 +0100 | [diff] [blame^] | 74 | | pprriinntt__ddiicctt(...) from builtins.PyCapsule |
| 75 | | Signature : (example.Example2, dict) -> None |
Wenzel Jakob | 38bd711 | 2015-07-05 20:05:44 +0200 | [diff] [blame] | 76 | | |
| 77 | | Print entries of a Python dictionary |
| 78 | | |
Wenzel Jakob | 60c36db | 2015-11-30 12:30:28 +0100 | [diff] [blame^] | 79 | | pprriinntt__ddiicctt__22(...) from builtins.PyCapsule |
| 80 | | Signature : (example.Example2, dict<str, str>) -> None |
Wenzel Jakob | 38bd711 | 2015-07-05 20:05:44 +0200 | [diff] [blame] | 81 | | |
| 82 | | Print entries of a C++ dictionary |
| 83 | | |
Wenzel Jakob | 60c36db | 2015-11-30 12:30:28 +0100 | [diff] [blame^] | 84 | | pprriinntt__lliisstt(...) from builtins.PyCapsule |
| 85 | | Signature : (example.Example2, list) -> None |
Wenzel Jakob | 38bd711 | 2015-07-05 20:05:44 +0200 | [diff] [blame] | 86 | | |
| 87 | | Print entries of a Python list |
| 88 | | |
Wenzel Jakob | 60c36db | 2015-11-30 12:30:28 +0100 | [diff] [blame^] | 89 | | pprriinntt__lliisstt__22(...) from builtins.PyCapsule |
| 90 | | Signature : (example.Example2, list<str>) -> None |
Wenzel Jakob | 38bd711 | 2015-07-05 20:05:44 +0200 | [diff] [blame] | 91 | | |
| 92 | | Print entries of a C++ list |
| 93 | | |
Wenzel Jakob | 60c36db | 2015-11-30 12:30:28 +0100 | [diff] [blame^] | 94 | | pprriinntt__sseett(...) from builtins.PyCapsule |
| 95 | | Signature : (example.Example2, set) -> None |
Wenzel Jakob | 333e889 | 2015-11-14 19:04:49 +0100 | [diff] [blame] | 96 | | |
| 97 | | Print entries of a Python set |
| 98 | | |
Wenzel Jakob | 60c36db | 2015-11-30 12:30:28 +0100 | [diff] [blame^] | 99 | | pprriinntt__sseett__22(...) from builtins.PyCapsule |
| 100 | | Signature : (example.Example2, set<str>) -> None |
Wenzel Jakob | 333e889 | 2015-11-14 19:04:49 +0100 | [diff] [blame] | 101 | | |
| 102 | | Print entries of a C++ set |
| 103 | | |
Wenzel Jakob | 60c36db | 2015-11-30 12:30:28 +0100 | [diff] [blame^] | 104 | | tthhrrooww__eexxcceeppttiioonn(...) from builtins.PyCapsule |
| 105 | | Signature : (example.Example2) -> None |
Wenzel Jakob | 38bd711 | 2015-07-05 20:05:44 +0200 | [diff] [blame] | 106 | | |
| 107 | | Throw an exception |
| 108 | | |
Wenzel Jakob | 60c36db | 2015-11-30 12:30:28 +0100 | [diff] [blame^] | 109 | | ttuuppllee__ppaasssstthhrroouugghh(...) from builtins.PyCapsule |
| 110 | | Signature : (example.Example2, (bool, str, int)) -> (int, str, bool) |
Wenzel Jakob | 38bd711 | 2015-07-05 20:05:44 +0200 | [diff] [blame] | 111 | | |
| 112 | | Return a triple in reversed order |
| 113 | | |
| 114 | | ---------------------------------------------------------------------- |
| 115 | | Data and other attributes defined here: |
| 116 | | |
Wenzel Jakob | 333e889 | 2015-11-14 19:04:49 +0100 | [diff] [blame] | 117 | | ____ppyybbiinndd1111____ = <capsule object NULL> |
Wenzel Jakob | 38bd711 | 2015-07-05 20:05:44 +0200 | [diff] [blame] | 118 | |
| 119 | Destructing Example2 |