pytho****@googl*****
pytho****@googl*****
2012年 11月 17日 (土) 06:05:30 JST
Revision: 31e1fe7ca4dd Branch: default Author: Nozomu Kaneko <nozom****@gmail*****> Date: Fri Nov 16 13:01:43 2012 Log: fix spelling http://code.google.com/p/python-doc-ja/source/detail?r=31e1fe7ca4dd&repo=py33 Modified: /tools/sphinxext/jpsupport.py ======================================= --- /tools/sphinxext/jpsupport.py Fri Nov 16 12:38:14 2012 +++ /tools/sphinxext/jpsupport.py Fri Nov 16 13:01:43 2012 @@ -36,8 +36,8 @@ return #source は単要素のリスト、その要素は Unicode 型 result = source[0] - for befour, after in SEPARATORS: - result = befour.sub(after, result) + for before, after in SEPARATORS: + result = before.sub(after, result) source[0] = result @@ -47,8 +47,8 @@ for node in doctree.traverse(Text): if isinstance(node.parent, paragraph): result = node.astext() - for befour, after in JOINTERS: - result = befour.sub(after, result) + for before, after in JOINTERS: + result = before.sub(after, result) node.parent.replace(node, Text(result)) @@ -58,8 +58,8 @@ if app.builder.name == 'gettext': return result = source[0] - for befour, after in S2: - result = befour.sub(after, result) + for before, after in S2: + result = before.sub(after, result) source[0] = result