mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 12:33:40 +00:00
docs: Fix variable name typo in code-style.md.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user