Skip to content

Commit 07fd196

Browse files
committed
#817 - remove fuzzy flags
1 parent 14e930f commit 07fd196

File tree

1 file changed

+24
-4
lines changed

1 file changed

+24
-4
lines changed

library/shlex.po

+24-4
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,8 @@ msgstr ""
1717
"Generated-By: Babel 2.17.0\n"
1818

1919
#: ../../library/shlex.rst:2
20-
#, fuzzy
2120
msgid ":mod:`!shlex` --- Simple lexical analysis"
22-
msgstr ":mod:`shlex` --- 간단한 어휘 분석"
21+
msgstr ":mod:`!shlex` --- 간단한 어휘 분석"
2322

2423
#: ../../library/shlex.rst:12
2524
msgid "**Source code:** :source:`Lib/shlex.py`"
@@ -55,11 +54,10 @@ msgstr ""
5554
"작동하지만, *posix* 인자가 거짓이면 비 POSIX 모드를 사용합니다."
5655

5756
#: ../../library/shlex.rst:33
58-
#, fuzzy
5957
msgid ""
6058
"Passing ``None`` for *s* argument now raises an exception, rather than "
6159
"reading :data:`sys.stdin`."
62-
msgstr "*s*\\``None``\\을 전달하면 향후 파이썬 버전에서 예외가 발생할 것입니다."
60+
msgstr "*s* 인자에 ``None``\\을 전달하면 이제 :data:`sys.stdin`\\을 읽는 대신 예외를 일으킵니다."
6361

6462
#: ../../library/shlex.rst:39
6563
msgid ""
@@ -607,6 +605,19 @@ msgid ""
607605
"';',\n"
608606
"'(', 'def', 'ghi', ')']"
609607
msgstr ""
608+
">>> import shlex\n"
609+
">>> text = \"a && b; c && d || e; f >'abc'; (def \\\"ghi\\\")\"\n"
610+
">>> s = shlex.shlex(text, posix=True)\n"
611+
">>> s.whitespace_split = True\n"
612+
">>> list(s)\n"
613+
"['a', '&&', 'b;', 'c', '&&', 'd', '||', 'e;', 'f', '>abc;', '(def', "
614+
"'ghi)']\n"
615+
">>> s = shlex.shlex(text, posix=True, punctuation_chars=True)\n"
616+
">>> s.whitespace_split = True\n"
617+
">>> list(s)\n"
618+
"['a', '&&', 'b', ';', 'c', '&&', 'd', '||', 'e', ';', 'f', '>', 'abc', "
619+
"';',\n"
620+
"'(', 'def', 'ghi', ')']"
610621

611622
#: ../../library/shlex.rst:427
612623
msgid ""
@@ -630,6 +641,10 @@ msgid ""
630641
">>> list(s)\n"
631642
"['a', '&', '&', 'b', '||', 'c']"
632643
msgstr ""
644+
">>> import shlex\n"
645+
">>> s = shlex.shlex(\"a && b || c\", punctuation_chars=\"|\")\n"
646+
">>> list(s)\n"
647+
"['a', '&', '&', 'b', '||', 'c']"
633648

634649
#: ../../library/shlex.rst:439
635650
msgid ""
@@ -650,6 +665,11 @@ msgid ""
650665
">>> list(s)\n"
651666
"['~/a', '&&', 'b-c', '--color=auto', '||', 'd', '*.py?']"
652667
msgstr ""
668+
">>> import shlex\n"
669+
">>> s = shlex.shlex('~/a && b-c --color=auto || d *.py?',\n"
670+
"... punctuation_chars=True)\n"
671+
">>> list(s)\n"
672+
"['~/a', '&&', 'b-c', '--color=auto', '||', 'd', '*.py?']"
653673

654674
#: ../../library/shlex.rst:450
655675
msgid ""

0 commit comments

Comments
 (0)