Opened 7 years ago

Closed 7 years ago

Last modified 4 years ago

#8388 closed (fixed)

Wrong SortedDict call in db-api docs for extra(select=...)

Reported by: sciyoshi Owned by: nobody
Component: Documentation Version: master
Severity: Keywords:
Cc: sciyoshi@… Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


SortedDict only expects one parameter which is iterable.

    select=SortedDict(('a', '%s'), ('b', '%s')),
    select_params=('one', 'two'))

should therefore really be something like

    select=SortedDict([('a', '%s'), ('b', '%s')]),
    select_params=('one', 'two'))

Attaching a patch that fixes this.

Attachments (1)

extra-doc.patch (485 bytes) - added by sciyoshi 7 years ago.

Download all attachments as: .zip

Change History (5)

Changed 7 years ago by sciyoshi

comment:1 Changed 7 years ago by thejaswi_puthraya

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 7 years ago by cgrady

  • Triage Stage changed from Accepted to Ready for checkin

comment:3 Changed 7 years ago by ubernostrum

  • Resolution set to fixed
  • Status changed from new to closed

(In [8478]) Fixed #8388: Corrected documentation for SortedDict use in extra()

comment:4 Changed 4 years ago by jacob

  • milestone 1.0 deleted

Milestone 1.0 deleted

Note: See TracTickets for help on using tickets.
Back to Top