Skip to content

Commit 7799bc8

Browse files
committed
#758 - remove fuzzy flags
1 parent a99de76 commit 7799bc8

File tree

1 file changed

+18
-4
lines changed

1 file changed

+18
-4
lines changed

library/urllib.robotparser.po

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,14 @@ msgstr ""
1717
"Generated-By: Babel 2.17.0\n"
1818

1919
#: ../../library/urllib.robotparser.rst:2
20-
#, fuzzy
2120
msgid ":mod:`!urllib.robotparser` --- Parser for robots.txt"
22-
msgstr ":mod:`urllib.robotparser` --- robots.txt 구문 분석기"
21+
msgstr ":mod:`!urllib.robotparser` --- robots.txt 구문 분석기"
2322

2423
#: ../../library/urllib.robotparser.rst:10
2524
msgid "**Source code:** :source:`Lib/urllib/robotparser.py`"
2625
msgstr "**소스 코드:** :source:`Lib/urllib/robotparser.py`"
2726

2827
#: ../../library/urllib.robotparser.rst:20
29-
#, fuzzy
3028
msgid ""
3129
"This module provides a single class, :class:`RobotFileParser`, which "
3230
"answers questions about whether or not a particular user agent can fetch "
@@ -141,6 +139,22 @@ msgid ""
141139
">>> rp.can_fetch(\"*\", \"http://www.musi-cal.com/\")\n"
142140
"True"
143141
msgstr ""
142+
">>> import urllib.robotparser\n"
143+
">>> rp = urllib.robotparser.RobotFileParser()\n"
144+
">>> rp.set_url(\"http://www.musi-cal.com/robots.txt\")\n"
145+
">>> rp.read()\n"
146+
">>> rrate = rp.request_rate(\"*\")\n"
147+
">>> rrate.requests\n"
148+
"3\n"
149+
">>> rrate.seconds\n"
150+
"20\n"
151+
">>> rp.crawl_delay(\"*\")\n"
152+
"6\n"
153+
">>> rp.can_fetch(\"*\", \"http://www.musi-cal.com/cgi-"
154+
"bin/search?city=San+Francisco\")\n"
155+
"False\n"
156+
">>> rp.can_fetch(\"*\", \"http://www.musi-cal.com/\")\n"
157+
"True"
144158

145159
#: ../../library/urllib.robotparser.rst:12
146160
msgid "WWW"
@@ -156,5 +170,5 @@ msgstr ""
156170

157171
#: ../../library/urllib.robotparser.rst:12
158172
msgid "robots.txt"
159-
msgstr ""
173+
msgstr "robots.txt"
160174

0 commit comments

Comments
 (0)