Skip to content

Fix re-export of some names according to new PEP 484 rules #198

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

Merged
merged 2 commits into from
Jan 8, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions sqlalchemy-stubs/util/compat.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,19 @@ import builtins
from typing import Any, Optional, Text
import threading as threading
from collections import namedtuple as namedtuple
from io import BytesIO as byte_buffer
from io import BytesIO
from io import StringIO as StringIO
from inspect import getargspec as inspect_getfullargspec
from operator import attrgetter as dottedgetter
from operator import attrgetter

byte_buffer = BytesIO
dottedgetter = attrgetter

if sys.version_info < (3, 0):
from itertools import izip_longest as zip_longest
import cPickle as pickle
from itertools import izip_longest
zip_longest = izip_longest
import cPickle
pickle = cPickle
from urllib import quote_plus as quote_plus, unquote_plus as unquote_plus, quote as quote, unquote as unquote
from urlparse import parse_qsl as parse_qsl
else:
Expand Down