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
dcb591f8
Commit
dcb591f8
authored
9 years ago
by
Serhiy Storchaka
Browse files
Options
Browse Files
Download
Plain Diff
Use converter names instead of format units in Argument Clinic descriptions
in builtin and _crypt modules.
parents
b811b649
7e810a6e
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
75 additions
and
75 deletions
+75
-75
Modules/_cryptmodule.c
Modules/_cryptmodule.c
+3
-3
Python/bltinmodule.c
Python/bltinmodule.c
+72
-72
No files found.
Modules/_cryptmodule.c
View file @
dcb591f8
...
...
@@ -17,8 +17,8 @@ module crypt
/*[clinic input]
crypt.crypt
word:
's'
salt:
's'
word:
str
salt:
str
/
Hash a *word* with the given *salt* and return the hashed password.
...
...
@@ -32,7 +32,7 @@ results for a given *word*.
static
PyObject
*
crypt_crypt_impl
(
PyModuleDef
*
module
,
const
char
*
word
,
const
char
*
salt
)
/*[clinic end generated code: output=995ad1e854d83069 input=
4d93b6d0f41fbf58
]*/
/*[clinic end generated code: output=995ad1e854d83069 input=
0e8edec9c364352b
]*/
{
/* On some platforms (AtheOS) crypt returns NULL for an invalid
salt. Return None in that case. XXX Maybe raise an exception? */
...
...
This diff is collapsed.
Click to expand it.
Python/bltinmodule.c
View file @
dcb591f8
This diff is collapsed.
Click to expand it.
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