... | @@ -185,7 +185,7 @@ public static FlipTask[] multiThread(long numTrials, int numThreads) |
... | @@ -185,7 +185,7 @@ public static FlipTask[] multiThread(long numTrials, int numThreads) |
|
|
|
|
|
Pydoc or Sphinx can be used for Python. Consider the following Pydoc Example:
|
|
Pydoc or Sphinx can be used for Python. Consider the following Pydoc Example:
|
|
|
|
|
|
```python3
|
|
```python
|
|
def parse_raw_temps(original_temps: TextIO,
|
|
def parse_raw_temps(original_temps: TextIO,
|
|
step_size: int=30, units: bool=True) -> Iterator[Tuple[float, List[float]] ]:
|
|
step_size: int=30, units: bool=True) -> Iterator[Tuple[float, List[float]] ]:
|
|
"""
|
|
"""
|
... | @@ -204,7 +204,7 @@ def parse_raw_temps(original_temps: TextIO, |
... | @@ -204,7 +204,7 @@ def parse_raw_temps(original_temps: TextIO, |
|
|
|
|
|
I prefer the Sphinx/Google style for Python.
|
|
I prefer the Sphinx/Google style for Python.
|
|
|
|
|
|
```python3
|
|
```python
|
|
def parse_raw_temps(original_temps: TextIO,
|
|
def parse_raw_temps(original_temps: TextIO,
|
|
step_size: int=30, units: bool=True) -> Iterator[Tuple[float, List[float]] ]:
|
|
step_size: int=30, units: bool=True) -> Iterator[Tuple[float, List[float]] ]:
|
|
"""
|
|
"""
|
... | | ... | |