mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
fixes bpo-31866: remove code pertaining to AtheOS support (#4115)
We stop support this OS in 2007 with commit
19fab761b7
. Let's finish.
This commit is contained in:
parent
1896793520
commit
4eaf7f9490
4 changed files with 5 additions and 32 deletions
|
@ -34,8 +34,6 @@ static PyObject *
|
|||
crypt_crypt_impl(PyObject *module, const char *word, const char *salt)
|
||||
/*[clinic end generated code: output=0512284a03d2803c input=0e8edec9c364352b]*/
|
||||
{
|
||||
/* On some platforms (AtheOS) crypt returns NULL for an invalid
|
||||
salt. Return None in that case. XXX Maybe raise an exception? */
|
||||
return Py_BuildValue("s", crypt(word, salt));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue