summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/connectors
diff options
context:
space:
mode:
authorj00356287 <jiajunsu@huawei.com>2020-07-25 16:33:25 -0400
committersqla-tester <sqla-tester@sqlalchemy.org>2020-07-25 16:33:25 -0400
commit448c1aef216e274d21deb03fdcafad1289f7951b (patch)
treef1269805d7d9365569589598cda89f00fc6dcf03 /lib/sqlalchemy/connectors
parent67e8359931b18d2d13231a0d4e665b03958d6d7f (diff)
downloadsqlalchemy-448c1aef216e274d21deb03fdcafad1289f7951b.tar.gz
Remove comment code lines
PyODBCConnector.initialize just super from Connector, no need to redeclare, so I guess that's why they are commented before. <!-- Provide a general summary of your proposed changes in the Title field above --> ### Description <!-- Describe your changes in detail --> Remove the useless comment code lines. ### Checklist <!-- go over following points. check them with an `x` if they do apply, (they turn into clickable checkboxes once the PR is submitted, so no need to do everything at once) --> This pull request is: - [x] A documentation / typographical error fix - Good to go, no issue or tests are needed - [ ] A short code fix - please include the issue number, and create an issue if none exists, which must include a complete example of the issue. one line code fixes without an issue and demonstration will not be accepted. - Please include: `Fixes: #<issue number>` in the commit message - please include tests. one line code fixes without tests will not be accepted. - [ ] A new feature implementation - please include the issue number, and create an issue if none exists, which must include a complete example of how the feature would look. - Please include: `Fixes: #<issue number>` in the commit message - please include tests. **Have a nice day!** Closes: #5475 Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/5475 Pull-request-sha: 23176a7f0316d74407492c2bb299c88924ed0868 Change-Id: If94bb6275c30015e3aaa1519471b7d9bcda18bf8
Diffstat (limited to 'lib/sqlalchemy/connectors')
-rw-r--r--lib/sqlalchemy/connectors/pyodbc.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/sqlalchemy/connectors/pyodbc.py b/lib/sqlalchemy/connectors/pyodbc.py
index 57a1c54fb..96ac0c1f1 100644
--- a/lib/sqlalchemy/connectors/pyodbc.py
+++ b/lib/sqlalchemy/connectors/pyodbc.py
@@ -120,9 +120,6 @@ class PyODBCConnector(Connector):
else:
return False
- # def initialize(self, connection):
- # super(PyODBCConnector, self).initialize(connection)
-
def _dbapi_version(self):
if not self.dbapi:
return ()