[issue32747] remove trailing spaces in docstring

2018-02-01 Thread Qian Yun

Change by Qian Yun :


--
keywords: +patch
pull_requests: +5324
stage:  -> patch review

___
Python tracker 
<https://bugs.python.org/issue32747>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32747] remove trailing spaces in docstring

2018-02-01 Thread Qian Yun

New submission from Qian Yun :

This is a simple PR that removes trailing spaces in docstring,
which are found by:
grep -R ' \\n\\$' .

--
assignee: docs@python
components: Documentation
messages: 311484
nosy: Qian Yun, docs@python
priority: normal
severity: normal
status: open
title: remove trailing spaces in docstring
versions: Python 3.8

___
Python tracker 
<https://bugs.python.org/issue32747>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32674] minor documentation fix for '__import__'

2018-01-25 Thread Qian Yun

Qian Yun  added the comment:

Sorry, a typo, it's "minor documentation fix".

See https://github.com/python/cpython/pull/5339

diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
index d8971bef2a..80b4f9447c 100644
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -317,7 +317,7 @@ PyDoc_STRVAR(import_doc,
 "__import__(name, globals=None, locals=None, fromlist=(), level=0) -> module\n\
 \n\
 Import a module. Because this function is meant for use by the Python\n\
-interpreter and not for general use it is better to use\n\
+interpreter and not for general use, it is better to use\n\
 importlib.import_module() to programmatically import a module.\n\
 \n\
 The globals argument is only used to determine the context;\n\
@@ -326,8 +326,8 @@ should be a list of names to emulate ``from name import 
...'', or an\n\
 empty list to emulate ``import name''.\n\
 When importing a module from a package, note that __import__('A.B', ...)\n\
 returns package A when fromlist is empty, but its submodule B when\n\
-fromlist is not empty.  Level is used to determine whether to perform \n\
-absolute or relative imports. 0 is absolute while a positive number\n\
+fromlist is not empty.  The level argument is used to determine whether to\n\
+perform absolute or relative imports, 0 is absolute while a positive number\n\
 is the number of parent directories to search relative to the current 
module.");

--

___
Python tracker 
<https://bugs.python.org/issue32674>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32674] minor documentation fix for '__import__'

2018-01-25 Thread Qian Yun

Change by Qian Yun :


--
keywords: +patch
pull_requests: +5186
stage:  -> patch review

___
Python tracker 
<https://bugs.python.org/issue32674>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32674] minor documentation fix for '__import__'

2018-01-25 Thread Qian Yun

New submission from Qian Yun :

This is a minor documentation for builtin function '__import__'.

--
assignee: docs@python
components: Documentation
messages: 310741
nosy: Qian Yun, docs@python
priority: normal
severity: normal
status: open
title: minor documentation fix for '__import__'
versions: Python 3.7

___
Python tracker 
<https://bugs.python.org/issue32674>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com