Python Reference (The Right Way)
latest
Introduction
Definitions
Coding Guidelines
Fundamental Data Types
Built-In Functions
Comprehensions and Generator Expression
Container Data Access
Operators
Statements
Other Objects
Double Underscore Methods and Variables
Exceptions
Constants
Boilerplate
Glimpse of the PSL
Resources
Licence
Python Reference (The Right Way)
Docs
»
copy
Edit on GitHub
copy
¶
Description
¶
Returns a copy of the set.
Syntax
¶
set
.
copy()
Return Value
¶
set
Time Complexity
¶
#TODO
Example
¶
>>>
s
=
{
0
,
1
}
.
copy
()
>>>
s
set([0, 1])
See also
¶
#TODO