Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

docs: Fix variable name typo in code-style.md.

khadeom9c18641ec435
diff --git a/docs/contributing/code-style.md b/docs/contributing/code-style.md
index 1a34938197f..50d46dda94d 100644
--- a/docs/contributing/code-style.md
+++ b/docs/contributing/code-style.md
@@ -141,7 +141,7 @@ You should work with the IDs instead:
```python
obj: UserProfile = get_user_profile_by_id(17)
some_objs = UserProfile.objects.get(id=17)
-assert obj.id in set([o.id for i in some_objs])
+assert obj.id in set([o.id for o in some_objs])
```
### user_profile.save()