Changeset 33300d in git for Tst/Manual/pyobject_related_functions.tst
- Timestamp:
- Sep 1, 2013, 8:14:59 AM (11 years ago)
- Branches:
- (u'spielwiese', '4a9821a93ffdc22a6696668bd4f6b8c9de3e6c5f')
- Children:
- 3b214c36377a112627c5c625e4f381a446911269
- Parents:
- 6af0619c6552cdcec5fde3657123ad6e806d0842
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Tst/Manual/pyobject_related_functions.tst
r6af0619 r33300d 3 3 4 4 // Additional functionality through attrib 5 attrib(pystr, "__ doc__");5 attrib(pystr, "__class__"); // should always be "<type 'str'>"... 6 6 proc(attrib(pystr, "count"))("K"); 7 7 8 pystr."__ doc__";// <- Short notations9 pystr.count("a"); // Even shorter (if attribute's name is valid and unused)8 pystr."__class__"; // <- Short notations 9 pystr.count("a"); // Even shorter (if attribute's name is valid and unused) 10 10 11 11 python_run("def func(): return 17");
Note: See TracChangeset
for help on using the changeset viewer.