Opened 6 years ago

Closed 6 years ago

Last modified 3 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 6 years ago.

Download all attachments as: .zip

Change History (5)

Changed 6 years ago by sciyoshi

comment:1 Changed 6 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 6 years ago by cgrady

  • Triage Stage changed from Accepted to Ready for checkin

comment:3 Changed 6 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 3 years ago by jacob

  • milestone 1.0 deleted

Milestone 1.0 deleted

Add Comment

Modify Ticket

Change Properties
<Author field>
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.