最近多得 Angus 貢獻,更新了本來的 RSS 取全文油猴 (Greasemonkey) 腳本,在遇到支持的網站時,會加入一個「Retrieve Content」的圖示:

這次是用了 DOMAttrModified 的事件,去偵測剛被 focus 了的文章。
各位可到 rssget 更新 1.6 版本。
I wrote some nice things before about how Idon't really use docstrings, but in thinking about it more I've realizedthat I was shading the truth. The real truth is that I don't really likeusing docstrings, and I've recently figured out why: docstrings don'tstand out enough.
(I have to say here that I have nothing against documenting my code;I just want it to look right.)
Unless you use an editor and display environment that set docstringsoff
Here's something I've been pondering lately: why doesn't Python havean inheritance model more like C++, where (forexample) your superclass's __init__ is automatically called?
There's a number of reasons, but I think that one of them is that Pythonlacks any concept of private class attributes and methods. When youlimit what a subclass can do to a superclass, when you have privateinternal state that has to be maintained correctly, it's