Differences between revisions 1 and 4 (spanning 3 versions)
Revision 1 as of 2007-08-14 14:58:56
Size: 44
Editor: sprint
Comment:
Revision 4 as of 2007-08-14 15:32:17
Size: 582
Editor: sprint
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= String methods =
  * atof()
  * atoi()
Is this the right place or is there another page with all py3000 removals of deprecated and obsolete things? (Nestor)

= String module =
  *atof() -> float()
  *atoi() -> int()
  *atol() -> int()
  *capitalize, expandtabs, find, rfind, rfind, index, rindex, count, lower, split, rsplit, splitfields, join, joinfields, lstrip, rstrip, strip, swapcase, translate, upper, ljust, rejust, center, zfill, replace -> methods

= builtins =
  *apply -> use * and **
  *callable
  *coerce
  *dict.has_key -> use x in dict
  *execfile
  *reduce -> moved to functools
  *reload

Is this the right place or is there another page with all py3000 removals of deprecated and obsolete things? (Nestor)

String module

  • atof() -> float()

  • atoi() -> int()

  • atol() -> int()

  • capitalize, expandtabs, find, rfind, rfind, index, rindex, count, lower, split, rsplit, splitfields, join, joinfields, lstrip, rstrip, strip, swapcase, translate, upper, ljust, rejust, center, zfill, replace -> methods

builtins

  • apply -> use * and **

  • callable
  • coerce
  • dict.has_key -> use x in dict

  • execfile
  • reduce -> moved to functools

  • reload

Py3kDeprecated (last edited 2019-10-27 00:00:19 by FrancesHocutt)

Unable to edit the page? See the FrontPage for instructions.