没有合适的资源?快使用搜索试试~ 我知道了~
解决pycharm安装出现的错误,出现编码出错的问题。
资源推荐
资源详情
资源评论
Rietveld Code Review ToolHelp | Bug tracker | Discussion group | Source code | Sign in
(1312)
Issues Repositories Search
Open Issues | Closed Issues | All Issues | Sign in to create issues and add comments
Side by Side Diff: Lib/mimetypes.py
Issue 9291: mimetypes initialization fails on Windows because of non-Latin characters in registry
Patch Set: Created 3 years, 4 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Context: Column Width:
Jump to:
View unified diff | Download patch
? no previous file with comments | ? no previous file | no next file ? | no next file with comments ?
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Hide Comments ('s')
OLD NEW
1 """Guess the MIME type of a file. 1 """Guess the MIME type of a file.
2 2
3 This module defines two useful functions: 3 This module defines two useful functions:
4 4
5 guess_type(url, strict=1) -- guess the MIME type and encoding of a URL. 5 guess_type(url, strict=1) -- guess the MIME type and encoding of a URL.
6 6
7 guess_extension(type, strict=1) -- guess the extension for a given MIME type. 7 guess_extension(type, strict=1) -- guess the extension for a given MIME type.
8 8
9 It also contains the following, for tuning the behavior: 9 It also contains the following, for tuning the behavior:
10 10
11 Data: 11 Data:
12 12
13 knownfiles -- list of files to parse 13 knownfiles -- list of files to parse
14 inited -- flag set when init() has been called 14 inited -- flag set when init() has been called
(1312)
Issues Repositories Search
Open Issues | Closed Issues | All Issues | Sign in to create issues and add comments
Side by Side Diff: Lib/mimetypes.py
Issue 9291: mimetypes initialization fails on Windows because of non-Latin characters in registry
Patch Set: Created 3 years, 4 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Context: Column Width:
Jump to:
View unified diff | Download patch
? no previous file with comments | ? no previous file | no next file ? | no next file with comments ?
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Hide Comments ('s')
OLD NEW
1 """Guess the MIME type of a file. 1 """Guess the MIME type of a file.
2 2
3 This module defines two useful functions: 3 This module defines two useful functions:
4 4
5 guess_type(url, strict=1) -- guess the MIME type and encoding of a URL. 5 guess_type(url, strict=1) -- guess the MIME type and encoding of a URL.
6 6
7 guess_extension(type, strict=1) -- guess the extension for a given MIME type. 7 guess_extension(type, strict=1) -- guess the extension for a given MIME type.
8 8
9 It also contains the following, for tuning the behavior: 9 It also contains the following, for tuning the behavior:
10 10
11 Data: 11 Data:
12 12
13 knownfiles -- list of files to parse 13 knownfiles -- list of files to parse
14 inited -- flag set when init() has been called 14 inited -- flag set when init() has been called
资源评论
kral2012
- 粉丝: 0
- 资源: 6
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功