Remove unnecessary rstrip
Remove unnecessary rstrip

```python
w = w.rstrip().strip()
```
is equivalent to 

```python
w = w.strip()
```
It's better to use the simpler version.
tensorflow/docs,tensorflow/docs,tensorflow/docs