[Pythonjp-checkins] [python-doc-ja] 2 new revisions pushed by cocoa****@gmail***** on 2011-02-26 13:33 GMT

Back to archive index

pytho****@googl***** pytho****@googl*****
2011年 2月 26日 (土) 22:33:53 JST


2 new revisions:

Revision: ffc9a99a6d
Author: cocoa****@gmail*****
Date: Sat Feb 26 05:30:48 2011
Log: library/fnmatch.rst 差分翻訳
http://code.google.com/p/python-doc-ja/source/detail?r=ffc9a99a6d

Revision: 88f786a387
Author: cocoatomo <cocoa****@gmail*****>
Date: Sat Feb 26 05:33:04 2011
Log: merge
http://code.google.com/p/python-doc-ja/source/detail?r=88f786a387

==============================================================================
Revision: ffc9a99a6d
Author: cocoa****@gmail*****
Date: Sat Feb 26 05:30:48 2011
Log: library/fnmatch.rst 差分翻訳
http://code.google.com/p/python-doc-ja/source/detail?r=ffc9a99a6d

Modified:
  /library/fnmatch.rst

=======================================
--- /library/fnmatch.rst	Sat May  8 00:24:10 2010
+++ /library/fnmatch.rst	Sat Feb 26 05:30:48 2011
@@ -34,10 +34,9 @@

  .. function:: fnmatch(filename, pattern)

-   filenameの文字列がpatternの文字列にマッチするかテストして、真、偽のいず 
れかを返します。
+   filenameの文字列がpatternの文字列にマッチするかテストし 
て、 :const:`True` 、 :const:`False` のいずれかを返します。
     オペレーティングシステムが大文字、小文字を区別しない場合、比較を行う前 
に、両方のパラメタを全て大文字、または全て小文字に揃えます。
-   オペレーティングシステムが標準でどうなっているかに関係なく、大小文字を区 
別して比較したい場合には、 :func:`fnmatchcase` を代わりに使って
-   ください。
+   オペレーティングシステムが標準でどうなっているかに関係なく、大小文字を区 
別して比較する場合には、 :func:`fnmatchcase` が使えます。

     .. This example will print all file names in the current directory with  
the
        extension ``.txt``::
@@ -53,7 +52,7 @@

  .. function:: fnmatchcase(filename, pattern)

-   *filename* が *pattern* にマッチするかテストして、真、偽を返します。比較 
は大文字、小文字を区別します。
+   *filename* が *pattern* にマッチするかテストし 
て、 :const:`True` 、 :const:`False` を返します。比較は大文字、小文字を区別 
します。


  .. function:: filter(names, pattern)
@@ -79,7 +78,7 @@
        >>> regex
        '.*\\.txt$'
        >>> reobj = re.compile(regex)
-      >>> print reobj.match('foobar.txt')
+      >>> reobj.match('foobar.txt')
        <_sre.SRE_Match object at 0x...>



==============================================================================
Revision: 88f786a387
Author: cocoatomo <cocoa****@gmail*****>
Date: Sat Feb 26 05:33:04 2011
Log: merge
http://code.google.com/p/python-doc-ja/source/detail?r=88f786a387




Pythonjp-checkins メーリングリストの案内
Back to archive index