Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
suzaku committed Feb 10, 2014
1 parent d3c1b8d commit 02c7c9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CODING_GUIDELINES.md
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ To test if something is a string, consider that it may be unicode.
if type(x) == str:

# yes
if isintance(x, basestr):
if isintance(x, basestring):

Cleverness
==========
Expand All @@ -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.

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.

The End
Expand Down

0 comments on commit 02c7c9c

Please sign in to comment.