Skip to content

Commit 37bc810

Browse files
Remove useless except statements and update readme
1 parent 9afbe2a commit 37bc810

File tree

4 files changed

+12
-16
lines changed

4 files changed

+12
-16
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@ regarding the use of this software.
4747

4848
General:
4949

50-
- command-line interface
51-
- access both public and private, REST and websocket endpoints
52-
- responsive error handling and custom exceptions
53-
- extensive example scripts (see `/examples` and `/tests`)
54-
- tested using the [pytest](https://docs.pytest.org/en/7.3.x/) framework
55-
- releases are permanently archived at [Zenodo](https://zenodo.org/badge/latestdoi/510751854)
50+
- Command-line interface
51+
- Access both public and private, REST and websocket endpoints
52+
- Responsive error handling and custom exceptions
53+
- Extensive example scripts (see `/examples` and `/tests`)
54+
- Tested using the [pytest](https://docs.pytest.org/en/7.3.x/) framework
55+
- Releases are permanently archived at [Zenodo](https://zenodo.org/badge/latestdoi/510751854)
5656

5757
Available Clients:
5858

doc/introduction.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,12 @@ Features
6060

6161
General:
6262

63-
- command-line interface
64-
- access both public and private, REST and websocket endpoints
65-
- responsive error handling and custom exceptions
66-
- extensive examples
67-
- tested using the `pytest <https://docs.pytest.org/en/7.3.x/>`_ framework
68-
- releases are permanently archived at `Zenodo <https://zenodo.org/badge/latestdoi/510751854>`_
63+
- Command-line interface
64+
- Access both public and private, REST and websocket endpoints
65+
- Responsive error handling and custom exceptions
66+
- Extensive examples
67+
- Tested using the `pytest <https://docs.pytest.org/en/7.3.x/>`_ framework
68+
- Releases are permanently archived at `Zenodo <https://zenodo.org/badge/latestdoi/510751854>`_
6969

7070
Available Clients:
7171

examples/futures_ws_examples.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,6 @@ async def main() -> None:
101101

102102
while not client.exception_occur: # and not client_auth.exception_occur:
103103
await asyncio.sleep(6)
104-
except Exception:
105-
pass
106104
finally:
107105
# Close the sessions properly.
108106
for _client in clients:

examples/spot_ws_examples.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,6 @@ async def main() -> None:
114114

115115
while not client.exception_occur: # and not client_auth.exception_occur:
116116
await asyncio.sleep(6)
117-
except Exception:
118-
pass
119117
finally:
120118
# Stop the sessions properly.
121119
for _client in clients:

0 commit comments

Comments
 (0)