Source

python-clinic / notes2.txt

window.border([ls[, rs[, ts[, bs[, tl[, tr[, bl[, br]]]]]]]])

window.border([ls], [rs], [ts], [bs], [tl], [tr], [bl], [br])

[clinic]
curses.window.border:
    [
    ls : int
    ]
    [
    rs : int
    ]
    [
    ts : int
    ]
[bs], [tl], [tr], [bl], [br])

window.addch([y, x,] ch, [attr]) : 


class Function(inspect.Signature):
        +name
        +module
        +class
        +docstring
        +c_id
        +return_converter (which converts a C type back into a Python type, and specifies the return type of the impl)
        Parameter(inspect.Parameter):
            +docstring
            +group
            +converter (which is already instantiated and took its parameter already)

class Converter:
    immutable
    no internal state changes after __init__


have Clinic produce its own DSL as an output

Do we add *all* the metadata embedded in the clinic input
into the clinic output, and preserve it in the shared library?
that would be great for pycharm.  also for other people.
(pypy dynamic loading, hotpy calling the impl directly)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.