Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #97367 > unrolled thread
| Started by | Terry Reedy <tjreedy@udel.edu> |
|---|---|
| First post | 2015-10-03 06:09 -0400 |
| Last post | 2015-10-03 06:09 -0400 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Instance method for converting int to str - str() and __str__() Terry Reedy <tjreedy@udel.edu> - 2015-10-03 06:09 -0400
| From | Terry Reedy <tjreedy@udel.edu> |
|---|---|
| Date | 2015-10-03 06:09 -0400 |
| Subject | Re: Instance method for converting int to str - str() and __str__() |
| Message-ID | <mailman.361.1443866983.28679.python-list@python.org> |
On 10/3/2015 2:35 AM, neubyr wrote: > > I was wondering if there is any resource that explains why certain > methods like str() and type() These are classes. Calling a class calls the class construction and initialization functions. These return an instance of the class. While reading the tutorial, read the library reference, chapter 2. Chapter 4 is also extremely important to read. -- Terry Jan Reedy
Back to top | Article view | comp.lang.python
csiph-web