Logo
Explore Help
Sign In
VimPlug/typeshed
1
0
Fork 0
You've already forked typeshed
mirror of https://github.com/davidhalter/typeshed.git synced 2026-04-28 01:15:32 +08:00
Code Issues Actions Packages Projects Releases Wiki Activity
Files
636a7e8b37afff8edaf46d83ead2a39e778cd87a
typeshed/stubs/psycopg2
T
History
Bao 79c654ef43 psycopg2: correct return type (#7607)
Fixes the return type of `psycopg2.cursor.fetchone()` to match the psycopg2 code:

https://github.com/psycopg/psycopg2/blob/1d3a89a0bba621dc1cc9b32db6d241bd2da85ad1/psycopg/cursor_type.c#L647-L651
https://github.com/psycopg/psycopg2/blob/1d3a89a0bba621dc1cc9b32db6d241bd2da85ad1/psycopg/cursor_type.c#L748-L786

It also matches the [psycopg2 documentation](https://www.psycopg.org/docs/cursor.html?highlight=copy_from#cursor.fetchone) as well as the [DB-API](https://peps.python.org/pep-0249/#fetchone)
2022-04-07 15:36:26 -07:00
..
@tests
Move abstract methods to AbstractConnectionPool (#6340)
2021-11-23 09:40:45 +01:00
psycopg2
psycopg2: correct return type (#7607)
2022-04-07 15:36:26 -07:00
METADATA.toml
Add star to all non-0.1 versions (#6146)
2021-10-11 13:41:19 -07:00
Powered by Gitea Version: 1.26.0 Page: 63ms Template: 2ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API