mirror of
https://github.com/python/cpython.git
synced 2025-12-08 10:21:13 +00:00
GH-137623: Begin enforcing docstring length in Argument Clinic (#137624)
Some checks are pending
Tests / (push) Blocked by required conditions
Tests / Cross build Linux (push) Blocked by required conditions
Tests / Windows MSI (push) Blocked by required conditions
Tests / Sanitizers (push) Blocked by required conditions
Tests / Change detection (push) Waiting to run
Tests / Docs (push) Blocked by required conditions
Tests / Check if Autoconf files are up to date (push) Blocked by required conditions
Tests / Check if generated files are up to date (push) Blocked by required conditions
Tests / Ubuntu SSL tests with OpenSSL (push) Blocked by required conditions
Tests / Ubuntu SSL tests with AWS-LC (push) Blocked by required conditions
Tests / Android (aarch64) (push) Blocked by required conditions
Tests / Android (x86_64) (push) Blocked by required conditions
Tests / WASI (push) Blocked by required conditions
Tests / Hypothesis tests on Ubuntu (push) Blocked by required conditions
Tests / Address sanitizer (push) Blocked by required conditions
Tests / CIFuzz (push) Blocked by required conditions
Tests / All required checks pass (push) Blocked by required conditions
Lint / lint (push) Waiting to run
mypy / Run mypy on Lib/test/libregrtest (push) Waiting to run
mypy / Run mypy on Lib/_pyrepl (push) Waiting to run
mypy / Run mypy on Lib/tomllib (push) Waiting to run
mypy / Run mypy on Tools/build (push) Waiting to run
mypy / Run mypy on Tools/cases_generator (push) Waiting to run
mypy / Run mypy on Tools/clinic (push) Waiting to run
mypy / Run mypy on Tools/jit (push) Waiting to run
mypy / Run mypy on Tools/peg_generator (push) Waiting to run
Some checks are pending
Tests / (push) Blocked by required conditions
Tests / Cross build Linux (push) Blocked by required conditions
Tests / Windows MSI (push) Blocked by required conditions
Tests / Sanitizers (push) Blocked by required conditions
Tests / Change detection (push) Waiting to run
Tests / Docs (push) Blocked by required conditions
Tests / Check if Autoconf files are up to date (push) Blocked by required conditions
Tests / Check if generated files are up to date (push) Blocked by required conditions
Tests / Ubuntu SSL tests with OpenSSL (push) Blocked by required conditions
Tests / Ubuntu SSL tests with AWS-LC (push) Blocked by required conditions
Tests / Android (aarch64) (push) Blocked by required conditions
Tests / Android (x86_64) (push) Blocked by required conditions
Tests / WASI (push) Blocked by required conditions
Tests / Hypothesis tests on Ubuntu (push) Blocked by required conditions
Tests / Address sanitizer (push) Blocked by required conditions
Tests / CIFuzz (push) Blocked by required conditions
Tests / All required checks pass (push) Blocked by required conditions
Lint / lint (push) Waiting to run
mypy / Run mypy on Lib/test/libregrtest (push) Waiting to run
mypy / Run mypy on Lib/_pyrepl (push) Waiting to run
mypy / Run mypy on Lib/tomllib (push) Waiting to run
mypy / Run mypy on Tools/build (push) Waiting to run
mypy / Run mypy on Tools/cases_generator (push) Waiting to run
mypy / Run mypy on Tools/clinic (push) Waiting to run
mypy / Run mypy on Tools/jit (push) Waiting to run
mypy / Run mypy on Tools/peg_generator (push) Waiting to run
This commit is contained in:
parent
003bd8cc63
commit
6baf552484
6 changed files with 355 additions and 12 deletions
|
|
@ -5084,14 +5084,18 @@ Test_an_metho_arg_named_arg_impl(TestObj *self, int arg)
|
|||
Test.__init__
|
||||
*args: tuple
|
||||
|
||||
Varargs init method. For example, nargs is translated to PyTuple_GET_SIZE.
|
||||
Varargs init method.
|
||||
|
||||
For example, nargs is translated to PyTuple_GET_SIZE.
|
||||
[clinic start generated code]*/
|
||||
|
||||
PyDoc_STRVAR(Test___init____doc__,
|
||||
"Test(*args)\n"
|
||||
"--\n"
|
||||
"\n"
|
||||
"Varargs init method. For example, nargs is translated to PyTuple_GET_SIZE.");
|
||||
"Varargs init method.\n"
|
||||
"\n"
|
||||
"For example, nargs is translated to PyTuple_GET_SIZE.");
|
||||
|
||||
static int
|
||||
Test___init___impl(TestObj *self, PyObject *args);
|
||||
|
|
@ -5120,21 +5124,25 @@ exit:
|
|||
|
||||
static int
|
||||
Test___init___impl(TestObj *self, PyObject *args)
|
||||
/*[clinic end generated code: output=f172425cec373cd6 input=4b8388c4e6baab6f]*/
|
||||
/*[clinic end generated code: output=0e5836c40dbc2397 input=a615a4485c0fc3e2]*/
|
||||
|
||||
/*[clinic input]
|
||||
@classmethod
|
||||
Test.__new__
|
||||
*args: tuple
|
||||
|
||||
Varargs new method. For example, nargs is translated to PyTuple_GET_SIZE.
|
||||
Varargs new method.
|
||||
|
||||
For example, nargs is translated to PyTuple_GET_SIZE.
|
||||
[clinic start generated code]*/
|
||||
|
||||
PyDoc_STRVAR(Test__doc__,
|
||||
"Test(*args)\n"
|
||||
"--\n"
|
||||
"\n"
|
||||
"Varargs new method. For example, nargs is translated to PyTuple_GET_SIZE.");
|
||||
"Varargs new method.\n"
|
||||
"\n"
|
||||
"For example, nargs is translated to PyTuple_GET_SIZE.");
|
||||
|
||||
static PyObject *
|
||||
Test_impl(PyTypeObject *type, PyObject *args);
|
||||
|
|
@ -5162,7 +5170,7 @@ exit:
|
|||
|
||||
static PyObject *
|
||||
Test_impl(PyTypeObject *type, PyObject *args)
|
||||
/*[clinic end generated code: output=ee1e8892a67abd4a input=a8259521129cad20]*/
|
||||
/*[clinic end generated code: output=e6fba0c8951882fd input=8ce30adb836aeacb]*/
|
||||
|
||||
|
||||
/*[clinic input]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue