File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -9,16 +9,16 @@ Follows the [java properties file format](http://docs.oracle.com/javase/6/docs/a
9
9
` dict getJavaProperties(file) `
10
10
11
11
- Args:
12
- - file: a valid file object (as returned by ` open(filename) ` )
12
+ - file: a valid file object (as returned by ` open(filename) ` )
13
13
- Returns:
14
- - The property key and elements as a dict
14
+ - The property key and elements as a dict
15
15
- Raises:
16
- - ` IOError ` : if file operation fails with I/O related reason
17
- - Corresponds to java ` IOException ` in ` Properties.load() `
18
- - ` UnicodeDecodeError ` : if the property file has malformed ` \uxxxx ` encoding,
19
- - Corresponds to java ` IllegalArgumentException ` in ` Properties.load() `
20
- - ` AttributeError ` : if invalid object was provided for file object
21
- - Corresponds to java ` NullPointerException `
16
+ - ` IOError ` : if file operation fails with I/O related reason
17
+ - Corresponds to java ` IOException ` in ` Properties.load() `
18
+ - ` UnicodeDecodeError ` : if the property file has malformed ` \uxxxx ` encoding,
19
+ - Corresponds to java ` IllegalArgumentException ` in ` Properties.load() `
20
+ - ` AttributeError ` : if invalid object was provided for file object
21
+ - Corresponds to java ` NullPointerException `
22
22
23
23
## Example
24
24
You can’t perform that action at this time.
0 commit comments