Skip to content

Commit

Permalink
Slightly updates the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan Hubinger committed Apr 9, 2015
1 parent 2618b6e commit 35e7b02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DOCS.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This documentation will cover all the technical details of the [Coconut](https:/
- [Infix Calling](#infix-calling)
- [Function Definition](#function-definition)
- [Operator Functions](#operator-functions)
- [Set Literals](#set-literals)
- [Enhanced Set Literals](#enhanced-set-literals)
- [Non-Decimal Integers](#non-decimal-integers)
- [Enhanced Decorators](#enhanced-decorators)
- [Enhanced Else Statements](#enhanced-else-statements)
Expand Down Expand Up @@ -178,7 +178,7 @@ import operator
prod = reduce(operator.__mul__, items)
```

### Set Literals
### Enhanced Set Literals

In addition to Python's normal set literals using curly braces, Coconut supports a special `s` (for `set`) or `f` (for `frozenset`) in front of a Python-like set literal to ensure it is a set literal of the specified type even when it otherwise would not be, such as when it is empty, or if a `frozenset` is desired.

Expand Down

0 comments on commit 35e7b02

Please sign in to comment.