| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 2efb973 commit aa0735f
12 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1523,15 +1523,15 @@ PyDoc_STRVAR(csv_module_doc, | |||
| 1523 | 1523 | "\n" | |
| 1524 | 1524 | "SETTINGS:\n" | |
| 1525 | 1525 | "\n" | |
| 1526 | - " * quotechar - specifies a one-character string to use as the \n" | ||
| 1526 | + " * quotechar - specifies a one-character string to use as the\n" | ||
| 1527 | 1527 | " quoting character. It defaults to '\"'.\n" | |
| 1528 | - " * delimiter - specifies a one-character string to use as the \n" | ||
| 1528 | + " * delimiter - specifies a one-character string to use as the\n" | ||
| 1529 | 1529 | " field separator. It defaults to ','.\n" | |
| 1530 | 1530 | " * skipinitialspace - specifies how to interpret whitespace which\n" | |
| 1531 | 1531 | " immediately follows a delimiter. It defaults to False, which\n" | |
| 1532 | 1532 | " means that whitespace immediately following a delimiter is part\n" | |
| 1533 | 1533 | " of the following field.\n" | |
| 1534 | - " * lineterminator - specifies the character sequence which should \n" | ||
| 1534 | + " * lineterminator - specifies the character sequence which should\n" | ||
| 1535 | 1535 | " terminate rows.\n" | |
| 1536 | 1536 | " * quoting - controls when quotes should be generated by the writer.\n" | |
| 1537 | 1537 | " It can take on any of the following module constants:\n" | |
@@ -1543,7 +1543,7 @@ PyDoc_STRVAR(csv_module_doc, | |||
| 1543 | 1543 | " fields which do not parse as integers or floating point\n" | |
| 1544 | 1544 | " numbers.\n" | |
| 1545 | 1545 | " csv.QUOTE_NONE means that quotes are never placed around fields.\n" | |
| 1546 | - " * escapechar - specifies a one-character string used to escape \n" | ||
| 1546 | + " * escapechar - specifies a one-character string used to escape\n" | ||
| 1547 | 1547 | " the delimiter when quoting is set to QUOTE_NONE.\n" | |
| 1548 | 1548 | " * doublequote - controls the handling of quotes inside fields. When\n" | |
| 1549 | 1549 | " True, two consecutive quotes are interpreted as one during read,\n" | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1162,7 +1162,7 @@ PyDoc_STRVAR(_count_doc, | |||
| 1162 | 1162 | "_count() -> integer\n\ | |
| 1163 | 1163 | \n\ | |
| 1164 | 1164 | \ | |
| 1165 | - Return the number of currently running Python threads, excluding \n\ | ||
| 1165 | + Return the number of currently running Python threads, excluding\n\ | ||
| 1166 | 1166 | the main thread. The returned number comprises all threads created\n\ | |
| 1167 | 1167 | through `start_new_thread()` as well as `threading.Thread`, and not\n\ | |
| 1168 | 1168 | yet finished.\n\ | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2772,26 +2772,26 @@ the type of objects stored in them is constrained. The type is specified\n\ | |||
| 2772 | 2772 | at object creation time by using a type code, which is a single character.\n\ | |
| 2773 | 2773 | The following type codes are defined:\n\ | |
| 2774 | 2774 | \n\ | |
| 2775 | - Type code C Type Minimum size in bytes \n\ | ||
| 2776 | - 'b' signed integer 1 \n\ | ||
| 2777 | - 'B' unsigned integer 1 \n\ | ||
| 2778 | - 'u' Unicode character 2 (see note) \n\ | ||
| 2779 | - 'h' signed integer 2 \n\ | ||
| 2780 | - 'H' unsigned integer 2 \n\ | ||
| 2781 | - 'i' signed integer 2 \n\ | ||
| 2782 | - 'I' unsigned integer 2 \n\ | ||
| 2783 | - 'l' signed integer 4 \n\ | ||
| 2784 | - 'L' unsigned integer 4 \n\ | ||
| 2785 | - 'q' signed integer 8 (see note) \n\ | ||
| 2786 | - 'Q' unsigned integer 8 (see note) \n\ | ||
| 2787 | - 'f' floating point 4 \n\ | ||
| 2788 | - 'd' floating point 8 \n\ | ||
| 2775 | + Type code C Type Minimum size in bytes\n\ | ||
| 2776 | + 'b' signed integer 1\n\ | ||
| 2777 | + 'B' unsigned integer 1\n\ | ||
| 2778 | + 'u' Unicode character 2 (see note)\n\ | ||
| 2779 | + 'h' signed integer 2\n\ | ||
| 2780 | + 'H' unsigned integer 2\n\ | ||
| 2781 | + 'i' signed integer 2\n\ | ||
| 2782 | + 'I' unsigned integer 2\n\ | ||
| 2783 | + 'l' signed integer 4\n\ | ||
| 2784 | + 'L' unsigned integer 4\n\ | ||
| 2785 | + 'q' signed integer 8 (see note)\n\ | ||
| 2786 | + 'Q' unsigned integer 8 (see note)\n\ | ||
| 2787 | + 'f' floating point 4\n\ | ||
| 2788 | + 'd' floating point 8\n\ | ||
| 2789 | 2789 | \n\ | |
| 2790 | - NOTE: The 'u' typecode corresponds to Python's unicode character. On \n\ | ||
| 2790 | + NOTE: The 'u' typecode corresponds to Python's unicode character. On\n\ | ||
| 2791 | 2791 | narrow builds this is 2-bytes on wide builds this is 4-bytes.\n\ | |
| 2792 | 2792 | \n\ | |
| 2793 | - NOTE: The 'q' and 'Q' type codes are only available if the platform \n\ | ||
| 2794 | - C compiler used to build Python supports 'long long', or, on Windows, \n\ | ||
| 2793 | + NOTE: The 'q' and 'Q' type codes are only available if the platform\n\ | ||
| 2794 | + C compiler used to build Python supports 'long long', or, on Windows,\n\ | ||
| 2795 | 2795 | '__int64'.\n\ | |
| 2796 | 2796 | \n\ | |
| 2797 | 2797 | Methods:\n\ | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -430,7 +430,7 @@ static PyMethodDef fcntl_methods[] = { | |||
| 430 | 430 | ||
| 431 | 431 | ||
| 432 | 432 | PyDoc_STRVAR(module_doc, | |
| 433 | - "This module performs file control and I/O control on file \n\ | ||
| 433 | + "This module performs file control and I/O control on file\n\ | ||
| 434 | 434 | descriptors. It is an interface to the fcntl() and ioctl() Unix\n\ | |
| 435 | 435 | routines. File descriptors can be obtained with the fileno() method of\n\ | |
| 436 | 436 | a file or socket object."); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1358,7 +1358,7 @@ static PyMethodDef takewhile_reduce_methods[] = { | |||
| 1358 | 1358 | PyDoc_STRVAR(takewhile_doc, | |
| 1359 | 1359 | "takewhile(predicate, iterable) --> takewhile object\n\ | |
| 1360 | 1360 | \n\ | |
| 1361 | - Return successive entries from an iterable as long as the \n\ | ||
| 1361 | + Return successive entries from an iterable as long as the\n\ | ||
| 1362 | 1362 | predicate evaluates to true for each entry."); | |
| 1363 | 1363 | ||
| 1364 | 1364 | static PyTypeObject takewhile_type = { | |
@@ -1616,7 +1616,7 @@ islice(iterable, start, stop[, step]) --> islice object\n\ | |||
| 1616 | 1616 | Return an iterator whose next() method returns selected values from an\n\ | |
| 1617 | 1617 | iterable. If start is specified, will skip all preceding elements;\n\ | |
| 1618 | 1618 | otherwise, start defaults to zero. Step defaults to one. If\n\ | |
| 1619 | - specified as another value, step determines how many values are \n\ | ||
| 1619 | + specified as another value, step determines how many values are\n\ | ||
| 1620 | 1620 | skipped between successive calls. Works like a slice() on a list\n\ | |
| 1621 | 1621 | but returns an iterator."); | |
| 1622 | 1622 | ||
@@ -4613,8 +4613,8 @@ repeat(elem [,n]) --> elem, elem, elem, ... endlessly or up to n times\n\ | |||
| 4613 | 4613 | \n\ | |
| 4614 | 4614 | Iterators terminating on the shortest input sequence:\n\ | |
| 4615 | 4615 | accumulate(p[, func]) --> p0, p0+p1, p0+p1+p2\n\ | |
| 4616 | - chain(p, q, ...) --> p0, p1, ... plast, q0, q1, ... \n\ | ||
| 4617 | - chain.from_iterable([p, q, ...]) --> p0, p1, ... plast, q0, q1, ... \n\ | ||
| 4616 | + chain(p, q, ...) --> p0, p1, ... plast, q0, q1, ...\n\ | ||
| 4617 | + chain.from_iterable([p, q, ...]) --> p0, p1, ... plast, q0, q1, ...\n\ | ||
| 4618 | 4618 | compress(data, selectors) --> (d[0] if s[0]), (d[1] if s[1]), ...\n\ | |
| 4619 | 4619 | dropwhile(pred, seq) --> seq[n], seq[n+1], starting when pred fails\n\ | |
| 4620 | 4620 | groupby(iterable[, keyfunc]) --> sub-iterators grouped by value of keyfunc(v)\n\ | |
@@ -4624,7 +4624,7 @@ islice(seq, [start,] stop [, step]) --> elements from\n\ | |||
| 4624 | 4624 | starmap(fun, seq) --> fun(*seq[0]), fun(*seq[1]), ...\n\ | |
| 4625 | 4625 | tee(it, n=2) --> (it1, it2 , ... itn) splits one iterator into n\n\ | |
| 4626 | 4626 | takewhile(pred, seq) --> seq[0], seq[1], until pred fails\n\ | |
| 4627 | - zip_longest(p, q, ...) --> (p[0], q[0]), (p[1], q[1]), ... \n\ | ||
| 4627 | + zip_longest(p, q, ...) --> (p[0], q[0]), (p[1], q[1]), ...\n\ | ||
| 4628 | 4628 | \n\ | |
| 4629 | 4629 | Combinatoric generators:\n\ | |
| 4630 | 4630 | product(p, q, ... [repeat=1]) --> cartesian product\n\ | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11472,7 +11472,7 @@ PyDoc_STRVAR(termsize__doc__, | |||
| 11472 | 11472 | "This function will only be defined if an implementation is\n" \ | |
| 11473 | 11473 | "available for this system.\n" \ | |
| 11474 | 11474 | "\n" \ | |
| 11475 | - "shutil.get_terminal_size is the high-level function which should \n" \ | ||
| 11475 | + "shutil.get_terminal_size is the high-level function which should\n" \ | ||
| 11476 | 11476 | "normally be used, os.get_terminal_size is the low-level implementation."); | |
| 11477 | 11477 | ||
| 11478 | 11478 | static PyObject* | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -516,7 +516,7 @@ poll_unregister(pollObject *self, PyObject *o) | |||
| 516 | 516 | ||
| 517 | 517 | PyDoc_STRVAR(poll_poll_doc, | |
| 518 | 518 | "poll( [timeout] ) -> list of (fd, event) 2-tuples\n\n\ | |
| 519 | - Polls the set of registered file descriptors, returning a list containing \n\ | ||
| 519 | + Polls the set of registered file descriptors, returning a list containing\n\ | ||
| 520 | 520 | any descriptors that have events or errors to report."); | |
| 521 | 521 | ||
| 522 | 522 | static PyObject * | |
@@ -877,7 +877,7 @@ devpoll_unregister(devpollObject *self, PyObject *o) | |||
| 877 | 877 | ||
| 878 | 878 | PyDoc_STRVAR(devpoll_poll_doc, | |
| 879 | 879 | "poll( [timeout] ) -> list of (fd, event) 2-tuples\n\n\ | |
| 880 | - Polls the set of registered file descriptors, returning a list containing \n\ | ||
| 880 | + Polls the set of registered file descriptors, returning a list containing\n\ | ||
| 881 | 881 | any descriptors that have events or errors to report."); | |
| 882 | 882 | ||
| 883 | 883 | static PyObject * | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2661,8 +2661,8 @@ sock_gettimeout(PySocketSockObject *s) | |||
| 2661 | 2661 | PyDoc_STRVAR(gettimeout_doc, | |
| 2662 | 2662 | "gettimeout() -> timeout\n\ | |
| 2663 | 2663 | \n\ | |
| 2664 | - Returns the timeout in seconds (float) associated with socket \n\ | ||
| 2665 | - operations. A timeout of None indicates that timeouts on socket \n\ | ||
| 2664 | + Returns the timeout in seconds (float) associated with socket\n\ | ||
| 2665 | + operations. A timeout of None indicates that timeouts on socket\n\ | ||
| 2666 | 2666 | operations are disabled."); | |
| 2667 | 2667 | ||
| 2668 | 2668 | /* s.setsockopt() method. | |
@@ -2752,7 +2752,7 @@ setsockopt(level, option, value: buffer)\n\ | |||
| 2752 | 2752 | setsockopt(level, option, None, optlen: int)\n\ | |
| 2753 | 2753 | \n\ | |
| 2754 | 2754 | Set a socket option. See the Unix manual for level and option.\n\ | |
| 2755 | - The value argument can either be an integer, a string buffer, or \n\ | ||
| 2755 | + The value argument can either be an integer, a string buffer, or\n\ | ||
| 2756 | 2756 | None, optlen."); | |
| 2757 | 2757 | ||
| 2758 | 2758 | ||
@@ -3310,8 +3310,8 @@ sock_recv_into(PySocketSockObject *s, PyObject *args, PyObject *kwds) | |||
| 3310 | 3310 | PyDoc_STRVAR(recv_into_doc, | |
| 3311 | 3311 | "recv_into(buffer, [nbytes[, flags]]) -> nbytes_read\n\ | |
| 3312 | 3312 | \n\ | |
| 3313 | - A version of recv() that stores its data into a buffer rather than creating \n\ | ||
| 3314 | - a new string. Receive up to buffersize bytes from the socket. If buffersize \n\ | ||
| 3313 | + A version of recv() that stores its data into a buffer rather than creating\n\ | ||
| 3314 | + a new string. Receive up to buffersize bytes from the socket. If buffersize\n\ | ||
| 3315 | 3315 | is not specified (or 0), receive up to the size available in the given buffer.\n\ | |
| 3316 | 3316 | \n\ | |
| 3317 | 3317 | See recv() for documentation about the flags."); | |
@@ -5772,7 +5772,7 @@ Convert a 16-bit unsigned integer from network to host byte order.\n\ | |||
| 5772 | 5772 | Note that in case the received integer does not fit in 16-bit unsigned\n\ | |
| 5773 | 5773 | integer, but does fit in a positive C int, it is silently truncated to\n\ | |
| 5774 | 5774 | 16-bit unsigned integer.\n\ | |
| 5775 | - However, this silent truncation feature is deprecated, and will raise an \n\ | ||
| 5775 | + However, this silent truncation feature is deprecated, and will raise an\n\ | ||
| 5776 | 5776 | exception in future versions of Python."); | |
| 5777 | 5777 | ||
| 5778 | 5778 | ||
@@ -5843,7 +5843,7 @@ Convert a 16-bit unsigned integer from host to network byte order.\n\ | |||
| 5843 | 5843 | Note that in case the received integer does not fit in 16-bit unsigned\n\ | |
| 5844 | 5844 | integer, but does fit in a positive C int, it is silently truncated to\n\ | |
| 5845 | 5845 | 16-bit unsigned integer.\n\ | |
| 5846 | - However, this silent truncation feature is deprecated, and will raise an \n\ | ||
| 5846 | + However, this silent truncation feature is deprecated, and will raise an\n\ | ||
| 5847 | 5847 | exception in future versions of Python."); | |
| 5848 | 5848 | ||
| 5849 | 5849 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -866,7 +866,7 @@ PyDoc_STRVAR(odict_delitem__doc__, "od.__delitem__(y) <==> del od[y]"); | |||
| 866 | 866 | /* __eq__() */ | |
| 867 | 867 | ||
| 868 | 868 | PyDoc_STRVAR(odict_eq__doc__, | |
| 869 | - "od.__eq__(y) <==> od==y. Comparison to another OD is order-sensitive \n\ | ||
| 869 | + "od.__eq__(y) <==> od==y. Comparison to another OD is order-sensitive\n\ | ||
| 870 | 870 | while comparison to a regular mapping is order-insensitive.\n\ | |
| 871 | 871 | "); | |
| 872 | 872 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11595,7 +11595,7 @@ unicode_hash(PyObject *self) | |||
| 11595 | 11595 | PyDoc_STRVAR(index__doc__, | |
| 11596 | 11596 | "S.index(sub[, start[, end]]) -> int\n\ | |
| 11597 | 11597 | \n\ | |
| 11598 | - Return the lowest index in S where substring sub is found, \n\ | ||
| 11598 | + Return the lowest index in S where substring sub is found,\n\ | ||
| 11599 | 11599 | such that sub is contained within S[start:end]. Optional\n\ | |
| 11600 | 11600 | arguments start and end are interpreted as in slice notation.\n\ | |
| 11601 | 11601 | \n\ | |
| Back | FazBrowse Home | New Git URL |
0 commit comments