mirror of
https://github.com/johndoe6345789/typthon.git
synced 2026-04-25 14:15:29 +00:00
Fixed additional patterns: - _PyOpcode_* → _TyOpcode_* (all opcode metadata) - _PyUOpName → _TyUOpName - _PyFunction_* → _TyFunction_* - _PyListIterObject → _TyListIterObject - _Py_T_OBJECT → _Ty_T_OBJECT - Py_BEGIN_ALLOW_THREADS, Py_END_ALLOW_THREADS → Ty_* - PyDoc_STRVAR, PyDoc_STR → TyDoc_* - PyInterpreterState, PyThread_*, PyTime_t → Ty* - PyStructSequence_* → TyStructSequence_* - PyLockStatus → TyLockStatus - PyVarObject_HEAD_INIT → TyVarObject_HEAD_INIT - PyBaseExceptionObject → TyBaseExceptionObject - Fixed _PyExc_ → _TyExc_ in exception macros Build is progressing further. Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
32 lines
1.3 KiB
C
Generated
32 lines
1.3 KiB
C
Generated
/*[clinic input]
|
|
preserve
|
|
[clinic start generated code]*/
|
|
|
|
#if defined(Ty_BUILD_CORE) && !defined(Ty_BUILD_CORE_MODULE)
|
|
# include "pycore_gc.h" // TyGC_Head
|
|
# include "pycore_runtime.h" // _Ty_ID()
|
|
#endif
|
|
#include "pycore_modsupport.h" // _TyArg_UnpackKeywords()
|
|
|
|
TyDoc_STRVAR(pysqlite_connect__doc__,
|
|
"connect($module, /, database, timeout=5.0, detect_types=0,\n"
|
|
" isolation_level=\'\', check_same_thread=True,\n"
|
|
" factory=ConnectionType, cached_statements=128, uri=False, *,\n"
|
|
" autocommit=sqlite3.LEGACY_TRANSACTION_CONTROL)\n"
|
|
"--\n"
|
|
"\n"
|
|
"Open a connection to the SQLite database file \'database\'.\n"
|
|
"\n"
|
|
"You can use \":memory:\" to open a database connection to a database that\n"
|
|
"resides in RAM instead of on disk.\n"
|
|
"\n"
|
|
"Note: Passing more than 1 positional argument to _sqlite3.connect() is\n"
|
|
"deprecated. Parameters \'timeout\', \'detect_types\', \'isolation_level\',\n"
|
|
"\'check_same_thread\', \'factory\', \'cached_statements\' and \'uri\' will\n"
|
|
"become keyword-only parameters in Python 3.15.\n"
|
|
"");
|
|
|
|
#define PYSQLITE_CONNECT_METHODDEF \
|
|
{"connect", _PyCFunction_CAST(pysqlite_connect), METH_FASTCALL|METH_KEYWORDS, pysqlite_connect__doc__},
|
|
/*[clinic end generated code: output=69b9b00da71c3c0a input=a9049054013a1b77]*/
|