@@ -10,7 +10,7 @@ New in Python3 cheatsheet
10
10
``print `` is a function
11
11
-------------------------
12
12
13
- New in Python 3.0
13
+ ** New in Python 3.0 **
14
14
15
15
- PEP 3105 _ - Make print a function
16
16
@@ -43,7 +43,7 @@ Python 3
43
43
String is unicode
44
44
-------------------
45
45
46
- New in Python 3.0
46
+ ** New in Python 3.0 **
47
47
48
48
- PEP 3138 _ - String representation in Python 3000
49
49
- PEP 3120 _ - Using UTF-8 as the default source encoding
@@ -85,7 +85,7 @@ Python 3
85
85
New Super
86
86
----------
87
87
88
- New in Python 3.0
88
+ ** New in Python 3.0 **
89
89
90
90
- PEP 3135 _ - New Super
91
91
@@ -135,7 +135,7 @@ Python 3
135
135
Remove ``<> ``
136
136
--------------
137
137
138
- New in Python 3.0
138
+ ** New in Python 3.0 **
139
139
140
140
Python 2
141
141
@@ -159,7 +159,7 @@ Python 3
159
159
Not allow ``from module import * `` inside function
160
160
---------------------------------------------------
161
161
162
- New in Python 3.0
162
+ ** New in Python 3.0 **
163
163
164
164
.. code-block :: python
165
165
@@ -173,7 +173,7 @@ New in Python 3.0
173
173
Add ``nonlocal `` keyword
174
174
-------------------------
175
175
176
- New in Python 3.0
176
+ ** New in Python 3.0 **
177
177
178
178
PEP 3104 _ - Access to Names in Outer Scopes
179
179
@@ -200,7 +200,7 @@ PEP 3104_ - Access to Names in Outer Scopes
200
200
Extended iterable unpacking
201
201
----------------------------
202
202
203
- New in Python 3.0
203
+ ** New in Python 3.0 **
204
204
205
205
- PEP 3132 _ - Extended Iterable Unpacking
206
206
@@ -218,7 +218,7 @@ New in Python 3.0
218
218
General unpacking
219
219
------------------
220
220
221
- New in Python 3.5
221
+ ** New in Python 3.5 **
222
222
223
223
- PEP 448 _ - Additional Unpacking Generalizations
224
224
@@ -256,7 +256,7 @@ Python 3
256
256
Function annotations
257
257
--------------------
258
258
259
- New in Python 3.0
259
+ ** New in Python 3.0 **
260
260
261
261
- PEP 3107 _ - Function Annotations
262
262
@@ -277,7 +277,7 @@ New in Python 3.0
277
277
Variable annotations
278
278
--------------------
279
279
280
- New in Python 3.6
280
+ ** New in Python 3.6 **
281
281
282
282
- PEP 526 _ - Syntax for Variable Annotations
283
283
@@ -303,7 +303,7 @@ New in Python 3.6
303
303
Core support for typing module and generic types
304
304
-------------------------------------------------
305
305
306
- New in Python 3.7
306
+ ** New in Python 3.7 **
307
307
308
308
- PEP 560 _ - Core support for typing module and generic types
309
309
@@ -347,7 +347,7 @@ Python 3.7 or above
347
347
Format byte string
348
348
-------------------
349
349
350
- New in Python 3.5
350
+ ** New in Python 3.5 **
351
351
352
352
- PEP 461 _ - Adding ``% `` formatting to bytes and bytearray
353
353
@@ -371,7 +371,7 @@ New in Python 3.5
371
371
fstring
372
372
--------
373
373
374
- New in Python 3.6
374
+ ** New in Python 3.6 **
375
375
376
376
- PEP 498 _ - Literal String Interpolation
377
377
@@ -394,7 +394,7 @@ New in Python 3.6
394
394
Generator delegation
395
395
----------------------
396
396
397
- New in Python 3.3
397
+ ** New in Python 3.3 **
398
398
399
399
- PEP 380 _ - Syntax for Delegating to a Subgenerator
400
400
@@ -416,7 +416,7 @@ New in Python 3.3
416
416
``async `` and ``await `` syntax
417
417
-------------------------------
418
418
419
- New in Python 3.5
419
+ ** New in Python 3.5 **
420
420
421
421
- PEP 492 _ - Coroutines with async and await syntax
422
422
@@ -472,7 +472,7 @@ Python 3.5 or above
472
472
Asynchronous generators
473
473
------------------------
474
474
475
- New in Python 3.6
475
+ ** New in Python 3.6 **
476
476
477
477
- PEP 525 _ - Asynchronous Generators
478
478
@@ -502,7 +502,7 @@ New in Python 3.6
502
502
Asynchronous comprehensions
503
503
----------------------------
504
504
505
- New in Python 3.6
505
+ ** New in Python 3.6 **
506
506
507
507
- PEP 530 _ - Asynchronous Comprehensions
508
508
@@ -553,7 +553,7 @@ New in Python 3.6
553
553
Matrix multiplication
554
554
----------------------
555
555
556
- New in Python 3.5
556
+ ** New in Python 3.5 **
557
557
558
558
- PEP 465 _ - A dedicated infix operator for matrix multiplication
559
559
@@ -596,7 +596,7 @@ New in Python 3.5
596
596
Data Classes
597
597
-------------
598
598
599
- New in Python 3.7
599
+ ** New in Python 3.7 **
600
600
601
601
PEP 557 _ - Data Classes
602
602
@@ -642,7 +642,7 @@ PEP 557_ - Data Classes
642
642
Built-in ``breakpoint() ``
643
643
--------------------------
644
644
645
- New in Python 3.7
645
+ ** New in Python 3.7 **
646
646
647
647
- PEP 553 _ - Built-in breakpoint()
648
648
0 commit comments