BEAUTIFY
□未翻訳
□翻訳中
■翻訳完了(細田謙二)
■レビュー(Omi Chiba)
BEAUTIFY
BEAUTIFY
BEAUTIFYは、リストやタプル、辞書などの複合的なオブジェクトのHTML表現を構築するために使用されます:
BEAUTIFY is used to build HTML representations of compound objects, including lists, tuples and dictionaries:
BEAUTIFYはXMLへとシリアライズされるXML風のオブジェクトを、コンストラクタの引数の見栄えの良い表現とともに返します。この場合、次のようなXML表現は:
BEAUTIFY returns an XML-like object serializable to XML, with a nice looking representation of its constructor argument. In this case, the XML representation of:
次のようにレンダリングされます:
will render as:
1.
2.
3.
4.
<table>
<tr><td>a</td><td>:</td><td>hello<br />world</td></tr>
<tr><td>b</td><td>:</td><td>1<br />2</td></tr>
</table>