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

Fix signature for sqlite3.fetchmany #1444

Merged
merged 1 commit into from
Jun 29, 2017
Merged

Conversation

peterlvilim
Copy link
Contributor

@peterlvilim peterlvilim commented Jun 29, 2017

Also made pymssql.fetchmany simpler.

Library takes int as input: https://docs.python.org/2/library/sqlite3.html#sqlite3.Cursor.fetchmany

Should be using int according to python/mypy#2636.

Tests pass.

Also made pymssql.fetchmany simpler.
@peterlvilim peterlvilim changed the title Fix signature for slite3.fetchmany Fix signature for sqlite3.fetchmany Jun 29, 2017
@gvanrossum gvanrossum merged commit bc9b2f0 into python:master Jun 29, 2017
@gvanrossum
Copy link
Member

Thanks!

rhysparry added a commit to rhysparry/typeshed that referenced this pull request Jul 3, 2017
* python/master:
  Added stub for toaiff module (python#1455)
  Added stub for user module (python#1454)
  Add more multiprocessing function stubs (python#1435)
  PyYaml: uncomment commented out imports and add missing classmethod decorators (python#1439)
  Allow `os.readlink` to accept path-like objects (python#1441)
  Support named attributes in `os.uname()` result (python#1445)
  Fix signature for slite3.fetchmany (python#1444)
  Add __name__ field to MethodType (python#1442)
  Add TypedDict total argument (python#1443)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants