https://github.com/python/cpython
Revision dc5471404489da53e6d591b52ba8886897ed3743 authored by Victor Stinner on 04 April 2024, 09:09:40 UTC, committed by GitHub on 04 April 2024, 09:09:40 UTC
Add libclinic.parser module and move the following classes and
functions there:

* Parser
* PythonParser
* create_parser_namespace()

Add libclinic.dsl_parser module and move the following classes,
functions and variables there:

* ConverterArgs
* DSLParser
* FunctionNames
* IndentStack
* ParamState
* StateKeeper
* eval_ast_expr()
* unsupported_special_methods

Add libclinic.app module and move the Clinic class there.

Add libclinic.cli module and move the following functions there:

* create_cli()
* main()
* parse_file()
* run_clinic()
1 parent 8584334
History
Tip revision: dc5471404489da53e6d591b52ba8886897ed3743 authored by Victor Stinner on 04 April 2024, 09:09:40 UTC
gh-113317: Finish splitting Argument Clinic into sub-files (#117513)
Tip revision: dc54714
File Mode Size
cpython
internal
Python.h -rw-r--r-- 3.4 KB
README.rst -rw-r--r-- 486 bytes
abstract.h -rw-r--r-- 31.6 KB
bltinmodule.h -rw-r--r-- 264 bytes
boolobject.h -rw-r--r-- 1.3 KB
bytearrayobject.h -rw-r--r-- 1.4 KB
bytesobject.h -rw-r--r-- 2.5 KB
ceval.h -rw-r--r-- 4.8 KB
codecs.h -rw-r--r-- 5.3 KB
compile.h -rw-r--r-- 448 bytes
complexobject.h -rw-r--r-- 728 bytes
datetime.h -rw-r--r-- 9.5 KB
descrobject.h -rw-r--r-- 3.0 KB
dictobject.h -rw-r--r-- 4.3 KB
dynamic_annotations.h -rw-r--r-- 21.9 KB
enumobject.h -rw-r--r-- 253 bytes
errcode.h -rw-r--r-- 1.9 KB
exports.h -rw-r--r-- 4.5 KB
fileobject.h -rw-r--r-- 1.3 KB
fileutils.h -rw-r--r-- 1.4 KB
floatobject.h -rw-r--r-- 1.5 KB
frameobject.h -rw-r--r-- 336 bytes
genericaliasobject.h -rw-r--r-- 334 bytes
import.h -rw-r--r-- 3.2 KB
intrcheck.h -rw-r--r-- 535 bytes
iterobject.h -rw-r--r-- 525 bytes
listobject.h -rw-r--r-- 1.9 KB
longobject.h -rw-r--r-- 3.8 KB
marshal.h -rw-r--r-- 827 bytes
memoryobject.h -rw-r--r-- 1.1 KB
methodobject.h -rw-r--r-- 5.2 KB
modsupport.h -rw-r--r-- 5.4 KB
moduleobject.h -rw-r--r-- 3.2 KB
object.h -rw-r--r-- 46.2 KB
objimpl.h -rw-r--r-- 8.2 KB
opcode.h -rw-r--r-- 1.5 KB
opcode_ids.h -rw-r--r-- 11.5 KB
osdefs.h -rw-r--r-- 848 bytes
osmodule.h -rw-r--r-- 291 bytes
patchlevel.h -rw-r--r-- 1.3 KB
py_curses.h -rw-r--r-- 2.4 KB
pyatomic.h -rw-r--r-- 257 bytes
pybuffer.h -rw-r--r-- 5.2 KB
pycapsule.h -rw-r--r-- 1.7 KB
pydtrace.d -rw-r--r-- 1008 bytes
pydtrace.h -rw-r--r-- 2.3 KB
pyerrors.h -rw-r--r-- 12.7 KB
pyexpat.h -rw-r--r-- 2.5 KB
pyframe.h -rw-r--r-- 551 bytes
pyhash.h -rw-r--r-- 1.6 KB
pylifecycle.h -rw-r--r-- 2.2 KB
pymacconfig.h -rw-r--r-- 2.4 KB
pymacro.h -rw-r--r-- 6.6 KB
pymath.h -rw-r--r-- 1.6 KB
pymem.h -rw-r--r-- 4.3 KB
pyport.h -rw-r--r-- 19.1 KB
pystate.h -rw-r--r-- 4.5 KB
pystats.h -rw-r--r-- 596 bytes
pystrcmp.h -rw-r--r-- 436 bytes
pystrtod.h -rw-r--r-- 1.2 KB
pythonrun.h -rw-r--r-- 1.3 KB
pythread.h -rw-r--r-- 3.9 KB
pytypedefs.h -rw-r--r-- 851 bytes
rangeobject.h -rw-r--r-- 630 bytes
setobject.h -rw-r--r-- 1.5 KB
sliceobject.h -rw-r--r-- 2.6 KB
structmember.h -rw-r--r-- 1.6 KB
structseq.h -rw-r--r-- 1.3 KB
sysmodule.h -rw-r--r-- 1.1 KB
traceback.h -rw-r--r-- 585 bytes
tupleobject.h -rw-r--r-- 1.6 KB
typeslots.h -rw-r--r-- 2.3 KB
unicodeobject.h -rw-r--r-- 34.6 KB
warnings.h -rw-r--r-- 1.1 KB
weakrefobject.h -rw-r--r-- 1.4 KB

README.rst

back to top