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:
Benjamin Peterson 2017-10-25 23:55:14 -07:00 committed by GitHub
parent 1896793520
commit 4eaf7f9490
4 changed files with 5 additions and 32 deletions

View file

@ -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));
}