Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
6a985c35
Commit
6a985c35
authored
Oct 24, 2011
by
Florent Xicluna
Browse files
Options
Browse Files
Download
Plain Diff
Merge 3.2.
parents
39411f60
c45fb25f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
Misc/NEWS
Misc/NEWS
+2
-0
Modules/arraymodule.c
Modules/arraymodule.c
+4
-4
No files found.
Misc/NEWS
View file @
6a985c35
...
...
@@ -338,6 +338,8 @@ Core and Builtins
Library
-------
-
Issue
#
13255
:
wrong
docstrings
in
array
module
.
-
Issue
#
8540
:
Remove
deprecated
Context
.
_clamp
attribute
in
Decimal
module
.
-
Issue
#
13235
:
Added
PendingDeprecationWarning
to
warn
()
method
and
function
.
...
...
Modules/arraymodule.c
View file @
6a985c35
...
...
@@ -1550,7 +1550,7 @@ PyDoc_STRVAR(fromunicode_doc,
\n
\
Extends this array with data from the unicode string ustr.
\n
\
The array must be a unicode type array; otherwise a ValueError
\n
\
is raised. Use array.frombytes(ustr.
de
code(...)) to
\n
\
is raised. Use array.frombytes(ustr.
en
code(...)) to
\n
\
append Unicode data to an array of some other type."
);
...
...
@@ -1572,7 +1572,7 @@ PyDoc_STRVAR(tounicode_doc,
\n
\
Convert the array to a unicode string. The array must be
\n
\
a unicode type array; otherwise a ValueError is raised. Use
\n
\
array.to
string
().decode() to obtain a unicode string from
\n
\
array.to
bytes
().decode() to obtain a unicode string from
\n
\
an array of some other type."
);
...
...
@@ -2636,7 +2636,7 @@ count() -- return number of occurrences of an object\n\
extend() -- extend array by appending multiple elements from an iterable
\n
\
fromfile() -- read items from a file object
\n
\
fromlist() -- append items from the list
\n
\
from
string
() -- append items from the string
\n
\
from
bytes
() -- append items from the string
\n
\
index() -- return index of first occurrence of an object
\n
\
insert() -- insert a new item into the array at a provided position
\n
\
pop() -- remove and return item (default last)
\n
\
...
...
@@ -2644,7 +2644,7 @@ remove() -- remove first occurrence of an object\n\
reverse() -- reverse the order of the items in the array
\n
\
tofile() -- write all items to a file object
\n
\
tolist() -- return the array converted to an ordinary list
\n
\
to
string
() -- return the array converted to a string
\n
\
to
bytes
() -- return the array converted to a string
\n
\
\n
\
Attributes:
\n
\
\n
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment