Skip to content

Commit

Permalink
spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
loechel committed May 2, 2017
1 parent 286b714 commit ac25e1b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/RestrictedPython/transformer.py
Expand Up @@ -631,17 +631,17 @@ def visit_UnaryOp(self, node):
"""
UnaryOp (Unary Operations) is the overall element for:
* Not --> which should be allowed
* UAdd --> Positive Notation of Variables (e.g. +var)
* USub --> Negative Notation of Variables (e.g. -var)
* UAdd --> Positive notation of Variables (e.g. +var)
* USub --> Negative notation of Variables (e.g. -var)
"""
return self.node_contents_visit(node)

def visit_UAdd(self, node):
"""Positive Notation of Variables should be allowed. (e.g. +var)"""
"""Positive notation of Variables should be allowed. (e.g. +var)"""
return self.node_contents_visit(node)

def visit_USub(self, node):
"""Negativ Notation of Variables should be allowed. (e.g. -var)"""
"""Negativ notation of Variables should be allowed. (e.g. -var)"""
return self.node_contents_visit(node)

def visit_Not(self, node):
Expand Down

0 comments on commit ac25e1b

Please sign in to comment.