Skip to content

Commit 1f6f76b

Browse files
committed
Numbers
1 parent 77e5e86 commit 1f6f76b

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -377,8 +377,8 @@ Format
377377
* **`'X'` - HEX**
378378

379379

380-
Numbers
381-
-------
380+
Math
381+
----
382382
### Basic Functions
383383
```python
384384
<num> = pow(<num>, <num>) # Or: <num> ** <num>
@@ -412,7 +412,9 @@ from math import inf, nan, isinf, isnan
412412
float('inf'), float('nan')
413413
```
414414

415-
### Random
415+
416+
Random
417+
------
416418
```python
417419
from random import random, randint, choice, shuffle
418420
<float> = random()
@@ -478,7 +480,7 @@ def add(*a):
478480
6
479481
```
480482

481-
#### Legal argument combinations and calls:
483+
#### Legal argument combinations with calls:
482484
```python
483485
def f(*args) # f(1, 2, 3)
484486
def f(x, *args) # f(1, 2, 3)
@@ -1424,7 +1426,7 @@ param_names = list(sig.parameters.keys())
14241426
```
14251427

14261428
### Type
1427-
**Type is the root class. If only passed the object it returns it's type. Otherwise it creates a new class (and not the instance!).**
1429+
**Type is the root class. If only passed the object it returns it's type (class). Otherwise it creates a new class (and not an instance!).**
14281430

14291431
```python
14301432
<class> = type(<class_name>, <parents_tuple>, <attributes_dict>)

0 commit comments

Comments
 (0)