Staging
v0.5.1
https://github.com/python/cpython
Revision 83e54debac6344818bd9ee171314869d0ac024dd authored by Miss Islington (bot) on 19 June 2020, 12:18:44 UTC, committed by GitHub on 19 June 2020, 12:18:44 UTC

For me as a non native English speaker, the sentence with its embedded clause was very hard to understand.

modified:   Lib/email/utils.py

Automerge-Triggered-By: @csabella
(cherry picked from commit 66a65ba43cb3e68a43e32469c988dd7a6cff049c)

Co-authored-by: Jürgen Gmach <juergen.gmach@googlemail.com>
1 parent a5442b2
Raw File
Tip revision: 83e54debac6344818bd9ee171314869d0ac024dd authored by Miss Islington (bot) on 19 June 2020, 12:18:44 UTC
Improve readability of `formataddr` docstring (GH-20963)
Tip revision: 83e54de
dynload_dl.c

/* Support for dynamic loading of extension modules */

#include "dl.h"

#include "Python.h"
#include "importdl.h"


extern char *Py_GetProgramName(void);

const char *_PyImport_DynLoadFiletab[] = {".o", NULL};


dl_funcptr _PyImport_FindSharedFuncptr(const char *prefix,
                                       const char *shortname,
                                       const char *pathname, FILE *fp)
{
    char funcname[258];

    PyOS_snprintf(funcname, sizeof(funcname), "%.20s_%.200s", prefix, shortname);
    return dl_loadmod(Py_GetProgramName(), pathname, funcname);
}
back to top