Browse Source

Minor fixes

pull/28/head
Jure Šorn 6 years ago
parent
commit
8e16295504
1 changed files with 2 additions and 2 deletions
  1. 4
      README.md

4
README.md

@ -151,7 +151,7 @@ for i, el in enumerate(<collection> [, i_start]):
Named Tuple Named Tuple
----------- -----------
* **Tuple is an immutable and hashable list.** * **Tuple is an immutable and hashable list.**
* **Named tuple is its subclass with named elements.**
* **Named tuple is it's subclass with named elements.**
```python ```python
>>> from collections import namedtuple >>> from collections import namedtuple
@ -1744,7 +1744,7 @@ import numpy as np
```python ```python
<array> = np.array(<list>) <array> = np.array(<list>)
<array> = np.arange(from_inclusive, to_exclusive, step_size)
<array> = np.arange(from_inclusive, to_exclusive, ±step_size)
<array> = np.ones(<shape>) <array> = np.ones(<shape>)
<array> = np.random.randint(from_inclusive, to_exclusive, <shape>) <array> = np.random.randint(from_inclusive, to_exclusive, <shape>)
``` ```

Loading…
Cancel
Save