Skip to content

Commit b012151

Browse files
committed
Print
1 parent 6f4e461 commit b012151

File tree

1 file changed

+15
-17
lines changed

1 file changed

+15
-17
lines changed

README.md

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -295,23 +295,6 @@ import re
295295
```
296296

297297

298-
Print
299-
-----
300-
**Use `'file=sys.stderr'` for errors.**
301-
302-
```python
303-
print(<el_1> [, <el_2>, end='', sep='', file=<file>])
304-
```
305-
306-
```python
307-
>>> from pprint import pprint
308-
>>> pprint(locals())
309-
{'__doc__': None,
310-
'__name__': '__main__',
311-
'__package__': None, ...}
312-
```
313-
314-
315298
Format
316299
------
317300
```python
@@ -824,6 +807,21 @@ script_name = sys.argv[0]
824807
arguments = sys.argv[1:]
825808
```
826809

810+
### Print
811+
**Use `'file=sys.stderr'` for errors.**
812+
813+
```python
814+
print(<el_1> [, <el_2>, end='', sep='', file=<file>])
815+
```
816+
817+
```python
818+
>>> from pprint import pprint
819+
>>> pprint(locals())
820+
{'__doc__': None,
821+
'__name__': '__main__',
822+
'__package__': None, ...}
823+
```
824+
827825
### Input Function
828826
* **Reads a line from user input or pipe if present.**
829827
* **The trailing newline gets stripped.**

0 commit comments

Comments
 (0)