You can test your factorial class using the following code, which you'll also find in the file factorial.py (see Resources).
可以用下面的代码测试这个Factorial类,可以在文件factorial . py中找到这些代码(请参阅参考资料)。
Using UML and stereotypes, it might even be possible to generate both the object model and the XML vocabulary from a single diagram (see the "UML, XMI, and code generation" articles in Resources).
使用UML和原型(stereotype),甚至可以从一个图同时生成对象模型和xml词汇表(请参阅参考资料中“UML, XMI, and code generation”一文)。
You can make blank lines appear using the techniques included in Nicholas Chase's developerWorks Tip (see Resources) or with the following code
可以使用 Nicholas Chase 的 developerWorks Tip(参见 参考资料)中包含的技术或使用以下代码生成一些空行
应用推荐