Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve documenation about num_params in sqlite3 create_function and create_aggregate #67946

Closed
cedk mannequin opened this issue Mar 24, 2015 · 3 comments
Closed

Improve documenation about num_params in sqlite3 create_function and create_aggregate #67946

cedk mannequin opened this issue Mar 24, 2015 · 3 comments
Labels
docs Documentation in the Doc dir type-feature A feature request or enhancement

Comments

@cedk
Copy link
Mannequin

cedk mannequin commented Mar 24, 2015

BPO 23758
Nosy @cedk, @berkerpeksag
Files
  • sqlite3_doc.patch
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2016-03-27.19:39:33.112>
    created_at = <Date 2015-03-24.09:44:55.013>
    labels = ['type-feature', 'docs']
    title = 'Improve documenation about num_params in sqlite3 create_function and create_aggregate'
    updated_at = <Date 2016-03-27.19:39:33.110>
    user = 'https://github.com/cedk'

    bugs.python.org fields:

    activity = <Date 2016-03-27.19:39:33.110>
    actor = 'berker.peksag'
    assignee = 'docs@python'
    closed = True
    closed_date = <Date 2016-03-27.19:39:33.112>
    closer = 'berker.peksag'
    components = ['Documentation']
    creation = <Date 2015-03-24.09:44:55.013>
    creator = 'ced'
    dependencies = []
    files = ['38664']
    hgrepos = []
    issue_num = 23758
    keywords = ['patch']
    message_count = 3.0
    messages = ['239104', '262531', '262532']
    nosy_count = 5.0
    nosy_names = ['ghaering', 'ced', 'docs@python', 'python-dev', 'berker.peksag']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue23758'
    versions = ['Python 3.5', 'Python 3.6']

    @cedk
    Copy link
    Mannequin Author

    cedk mannequin commented Mar 24, 2015

    num_params must have the value -1 for any number of arguments see https://www.sqlite.org/c3ref/create_function.html

    @cedk cedk mannequin assigned docspython Mar 24, 2015
    @cedk cedk mannequin added docs Documentation in the Doc dir type-feature A feature request or enhancement labels Mar 24, 2015
    @python-dev
    Copy link
    Mannequin

    python-dev mannequin commented Mar 27, 2016

    New changeset 02efd708c5c0 by Berker Peksag in branch '3.5':
    Issue bpo-23758: Improve num_params docs of create_{function,aggregate} functions
    https://hg.python.org/cpython/rev/02efd708c5c0

    New changeset 5be12f20d8f2 by Berker Peksag in branch 'default':
    Issue bpo-23758: Improve num_params docs of create_{function,aggregate} functions
    https://hg.python.org/cpython/rev/5be12f20d8f2

    @berkerpeksag
    Copy link
    Member

    Thank you Cédric. I also added tests to verify the behavior of num_params=-1.

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    docs Documentation in the Doc dir type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant