Fix typo
This commit is contained in:
parent
d3c1b8de78
commit
02c7c9cb18
1 changed files with 2 additions and 2 deletions
|
@ -262,7 +262,7 @@ To test if something is a string, consider that it may be unicode.
|
||||||
if type(x) == str:
|
if type(x) == str:
|
||||||
|
|
||||||
# yes
|
# yes
|
||||||
if isintance(x, basestr):
|
if isintance(x, basestring):
|
||||||
|
|
||||||
Cleverness
|
Cleverness
|
||||||
==========
|
==========
|
||||||
|
@ -288,7 +288,7 @@ All code in Ansible core must support a minimum version of Python 2.6.
|
||||||
|
|
||||||
Module code must support a minimum of Python 2.4, with occasional exception for modules that require code that themselves require 2.6 and later.
|
Module code must support a minimum of Python 2.4, with occasional exception for modules that require code that themselves require 2.6 and later.
|
||||||
|
|
||||||
A quick reminder is that list comprehensions in Python 2.4 are not as fully fleshed out, there are not 'dict' comprehensions, and there is no 'with' statement.
|
A quick reminder is that list comprehensions in Python 2.4 are not as fully fleshed out, there are no 'dict' comprehensions, and there is no 'with' statement.
|
||||||
But otherwise it's pretty much all the same.
|
But otherwise it's pretty much all the same.
|
||||||
|
|
||||||
The End
|
The End
|
||||||
|
|
Loading…
Reference in a new issue