Skip to content

Commit 0391ded

Browse files
committed
minor docstring fix
1 parent a934c3a commit 0391ded

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

exonum/module_manager.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ class ModuleManager:
1212
Otherwise an error will be raised.
1313
1414
Example usage:
15+
1516
>>> with client.protobuf_loader() as loader:
1617
>>> loader.load_main_proto_files()
1718
>>> loader.load_service_proto_files(0, "exonum-supervisor:0.12.0")

exonum/protobuf_loader.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ class ProtobufLoader:
3636
This class is a Singleton, meaning that only one entity of that class is created at a time.
3737
3838
Example workflow:
39+
3940
>>> with client.protobuf_loader() as loader:
4041
>>> loader.load_main_proto_files()
4142
>>> loader.load_service_proto_files(0, "service_name")
@@ -62,6 +63,7 @@ class ProtobufLoader:
6263
>>> assert loader_1 == loader_2
6364
6465
This may be useful if you have several modules that should work with ProtobufLoader:
66+
6567
>>> # main.py
6668
>>> loader = ProtobufLoader(client)
6769
>>> loader.initialize()

0 commit comments

Comments
 (0)