Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
463a4d72
Commit
463a4d72
authored
Jan 14, 2001
by
Tim Peters
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Whitespace normalization.
parent
93fd3db8
Changes
16
Show whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
1829 additions
and
1832 deletions
+1829
-1832
Lib/MimeWriter.py
Lib/MimeWriter.py
+1
-1
Lib/getpass.py
Lib/getpass.py
+75
-76
Lib/gettext.py
Lib/gettext.py
+7
-7
Lib/glob.py
Lib/glob.py
+41
-41
Lib/gzip.py
Lib/gzip.py
+25
-25
Lib/htmlentitydefs.py
Lib/htmlentitydefs.py
+252
-252
Lib/htmllib.py
Lib/htmllib.py
+1
-1
Lib/httplib.py
Lib/httplib.py
+17
-17
Lib/ihooks.py
Lib/ihooks.py
+2
-2
Lib/imaplib.py
Lib/imaplib.py
+818
-819
Lib/imghdr.py
Lib/imghdr.py
+2
-2
Lib/imputil.py
Lib/imputil.py
+6
-6
Lib/macurl2path.py
Lib/macurl2path.py
+5
-5
Lib/mailcap.py
Lib/mailcap.py
+3
-3
Lib/mimetools.py
Lib/mimetools.py
+176
-176
Lib/mimify.py
Lib/mimify.py
+398
-399
No files found.
Lib/MimeWriter.py
View file @
463a4d72
Lib/getpass.py
View file @
463a4d72
...
...
@@ -116,4 +116,3 @@ except ImportError:
getpass
=
win_getpass
else
:
getpass
=
unix_getpass
Lib/gettext.py
View file @
463a4d72
...
...
@@ -51,7 +51,7 @@ from errno import ENOENT
_default_localedir
=
os
.
path
.
join
(
sys
.
prefix
,
'share'
,
'locale'
)
def
_expand_lang
(
locale
):
from
locale
import
normalize
locale
=
normalize
(
locale
)
...
...
@@ -94,7 +94,7 @@ def _expand_lang(locale):
return
ret
class
NullTranslations
:
def
__init__
(
self
,
fp
=
None
):
self
.
_info
=
{}
...
...
@@ -192,7 +192,7 @@ class GNUTranslations(NullTranslations):
return
unicode
(
tmsg
,
self
.
_charset
)
# Locate a .mo file using the gettext strategy
def
find
(
domain
,
localedir
=
None
,
languages
=
None
):
# Get some reasonable defaults for arguments that were not supplied
...
...
@@ -223,7 +223,7 @@ def find(domain, localedir=None, languages=None):
return
None
# a mapping between absolute .mo file path and Translation object
_translations
=
{}
...
...
@@ -243,12 +243,12 @@ def translation(domain, localedir=None, languages=None, class_=None):
return
t
def
install
(
domain
,
localedir
=
None
,
unicode
=
0
):
translation
(
domain
,
localedir
).
install
(
unicode
)
# a mapping b/w domains and locale directories
_localedirs
=
{}
# current global domain, `messages' used for compatibility w/ GNU gettext
...
...
Lib/glob.py
View file @
463a4d72
Lib/gzip.py
View file @
463a4d72
Lib/htmlentitydefs.py
View file @
463a4d72
Lib/htmllib.py
View file @
463a4d72
Lib/httplib.py
View file @
463a4d72
Lib/ihooks.py
View file @
463a4d72
Lib/imaplib.py
View file @
463a4d72
"""IMAP4 client.
Based on RFC 2060.
...
...
Lib/imghdr.py
View file @
463a4d72
Lib/imputil.py
View file @
463a4d72
Lib/macurl2path.py
View file @
463a4d72
Lib/mailcap.py
View file @
463a4d72
Lib/mimetools.py
View file @
463a4d72
Lib/mimify.py
View file @
463a4d72
...
...
@@ -460,4 +460,3 @@ if __name__ == '__main__' or (len(sys.argv) > 0 and sys.argv[0] == 'mimify'):
if
decode_base64
:
encode_args
=
encode_args
+
(
decode_base64
,)
apply
(
encode
,
encode_args
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment